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 User skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,343
    Answers
    498
    Vote Rating
    249
    skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of

      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

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar