1. #1
    Ext User
    Join Date
    May 2009
    Location
    Italy
    Posts
    116
    Vote Rating
    0
    robertoroberto is on a distinguished road

      0  

    Default [solved] How to force a TextField as Invalid ?

    [solved] How to force a TextField as Invalid ?


    Hi
    I need to force a TextField as Invalid but without using a validator.
    How can I do it with ExtJS 2.x (or 3.x) ?

    I try to explain why I need it.

    I'm creating a J2EE login form so the submit MUST be a standard submit (not a JSON results). So I need now to manage the Error Login Page.

    I want to do mark as invalid User Id and Password field using standard ExtJS layout.
    Of couse I can add a simple panel with a generic error message... But if I can use standard msgTarget i will be more happy

    Thanks

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,499
    Vote Rating
    46
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Please post requests for help in the Help folder.

  3. #3
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,499
    Vote Rating
    46
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Now, which version are you in fact using?

  4. #4
    Ext User
    Join Date
    May 2009
    Location
    Italy
    Posts
    116
    Vote Rating
    0
    robertoroberto is on a distinguished road

      0  

    Default


    I'm sorry If I post in the wrong forum. Next time I will put more attention.
    There is a way to move it ? I havent found it

    My final application must be run under ExtJS 3.0 (and I believe it will delivered in about 6m)
    So I'm looking for a solution bases on ExtJS 3.0

    Thanks

  5. #5
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,187
    Vote Rating
    119
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Take a look at the markInvalid method.

    If you wanted to force validation and auto trigger the standard validation you could also call the isValid method.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  6. #6
    Ext User
    Join Date
    May 2009
    Location
    Italy
    Posts
    116
    Vote Rating
    0
    robertoroberto is on a distinguished road

      0  

    Default


    Hi Aconran.
    It is exactly what I'm looking for!!
    Thanks!

Thread Participants: 2

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