7 Replies Latest reply: Jun 27, 2012 7:43 PM by Ben Pleysier RSS

    How can I validate "Name" spry-textfields???

    Lykos22 Community Member

      Hi I would like some information, if its possible.


      I'm building a contact form and I want to add some validation to the fields using Spry.


      The problem comes for my First Name and Last Name spry-textfields, where from the properties panel in type menu there is not any proper format like e-mail or zip-code has. The only thing I found that might help me is the custom option, but dont know exactlly how to use it. Basicly I 'd like to add some regular expressions to check that these fields will accept only characters and whitespaces, no numbers or symbols like @,#, etc etc


      Is there any article or video (better) available that can help me work with that??


      Any help would be appreciated.