[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 750
  • Last Modified:

using spry custom field to validate textfield in form to accept characters only..

hi,

i've created a form in dreamweaver to sign visitors up to a mailing list..
i am using spry to validate each textfield and are ok with the email field and number field..
however for the first and last name text fields i want to validate it so it only accepts characters only..how can i do this?
thanks for any help in advance!
0
ddonog115
Asked:
ddonog115
1 Solution
 
Jason C. LevineNo oneCommented:
Hi ddonog115,

You need to set the Type to Custom and then sent the pattern to:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBB

That should force case-insensitive alphabetic entry (use however many "B" you want to be able to accept).

More info is here:

http://labs.adobe.com/technologies/spry/articles/textfield_overview/
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now