1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    7
    Vote Rating
    0
    sruthi v m is on a distinguished road

      0  

    Smile Unanswered: validations that accepts special characters and alphanumeric characters.

    Unanswered: validations that accepts special characters and alphanumeric characters.


    I have a text field and I need to accept special characters and alphanumeric characters as input for this text field. please help me to write the validation for this.

  2. #2
    Sencha User
    Join Date
    Feb 2011
    Posts
    174
    Answers
    10
    Vote Rating
    1
    netemp is on a distinguished road

      0  

    Default


    Sruthi, a normal textfield would already allow you to type in any character, that is all special characters are allowed by default unless you apply some validation exclusively to disallow some.

    Thus, if you have put up some validation for your textfield then remove it and the user would be able to enter any character in the textfield.

  3. #3
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,588
    Answers
    540
    Vote Rating
    322
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      0  

    Default


    Perhaps it would help to elaborate on what you mean by 'special characters'?

    Usually such a thing is done using the regex config option:

    http://docs.sencha.com/ext-js/4-0/#!...Text-cfg-regex

  4. #4
    Sencha User
    Join Date
    Nov 2011
    Posts
    7
    Vote Rating
    0
    sruthi v m is on a distinguished road

      0  

    Smile


    thank you for your reply

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