1. #1
    Sencha User
    Join Date
    Mar 2011
    Posts
    208
    Answers
    2
    Vote Rating
    0
    bee is on a distinguished road

      0  

    Default Answered: How to allow spaces in textfield

    Answered: How to allow spaces in textfield


    Hi Guys,

    I have textfield in my formpanel. I want to add the forename and surname with spaces presently am using maskRe : /[a-z]/i,, I want spaces to included with text please let me know how to mask it

  2. Haha. Sorry, I didn't notice that.
    /([a-zA-Z\s])/
    a-z Lower Alpha
    A-Z Upper Alpha
    \s Spaces and tabs

    Is that what you need?

  3. #2
    Sencha User lucasguaru's Avatar
    Join Date
    May 2011
    Location
    Guaruj√°, Brazil
    Posts
    77
    Answers
    9
    Vote Rating
    2
    lucasguaru is on a distinguished road

      0  

  4. #3
    Sencha User
    Join Date
    Mar 2011
    Posts
    208
    Answers
    2
    Vote Rating
    0
    bee is on a distinguished road

      0  

    Default


    thx buddy . that one is posted by me only for Alt Gr characters

  5. #4
    Sencha User lucasguaru's Avatar
    Join Date
    May 2011
    Location
    Guaruj√°, Brazil
    Posts
    77
    Answers
    9
    Vote Rating
    2
    lucasguaru is on a distinguished road

      0  

    Default


    Haha. Sorry, I didn't notice that.
    /([a-zA-Z\s])/
    a-z Lower Alpha
    A-Z Upper Alpha
    \s Spaces and tabs

    Is that what you need?

  6. #5
    Sencha User
    Join Date
    Mar 2011
    Posts
    208
    Answers
    2
    Vote Rating
    0
    bee is on a distinguished road

      0  

    Default


    Quote Originally Posted by lucasguaru View Post
    Haha. Sorry, I didn't notice that.
    /([a-zA-Z\s])/
    a-z Lower Alpha
    A-Z Upper Alpha
    \s Spaces and tabs

    Is that what you need?
    thx I did fix it

Thread Participants: 1