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

Posted on 2009-04-21
Last Modified: 2013-11-12

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 can i do this?
thanks for any help in advance!
Question by:ddonog115
    1 Comment
    LVL 70

    Accepted Solution

    Hi ddonog115,

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


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

    More info is here:

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
    This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
    The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
    The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now