1. #1
    Ext User LouisArquie's Avatar
    Join Date
    Nov 2008
    Location
    Silicon Valley
    Posts
    20
    Vote Rating
    0
    LouisArquie is on a distinguished road

      0  

    Default Validation QuickTips to replace 'hint' QuickTips

    Validation QuickTips to replace 'hint' QuickTips


    First post here.
    Thanks for a fantastic framework that I have been using for now more than 3 months.

    I have a 'hint' QuickTips over a DateField:
    Ext.QuickTips.register({
    target: 'prc_startdate',
    title: 'm/d/Y format, e.g. 5/17/09'
    });

    My problem is that these blocks any automatic validation QuickTips that comes on an invalid field.
    How can I overwrite the 'hint' QuickTips with the 'invalid' QuickTips?

    Thanks in advance!

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    87
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    Instead of registering a QuickTip you could also mark the field invalid with the hint message, e.g.
    Code:
    Ext.getCmp('prc_startdate').markInvalid('m/d/Y format, e.g. 5/17/09');
    Or you could change the msgTarget to side, so the error is displayed as an icon with a QuickTip instead of a QuickTip on the element itself.

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi