I've read a whole bunch and tried many things but I can't seem to get my regex 
pattern to allow accented characters, which will occur in people's names. My 
cfinput currently looks like this:

<cfinput type="text" name="FName" required="yes"  size="30" validate="regex" 
pattern="^[\w'\-\ ]{2,50}$" message="Please enter a valid First Name">

It is fine on non-accented names like John or hyphenated names but as soon as I 
enter a name with accents, it posts an error. For example, Agnès. 

I've played with other versions including :alpha: and [A-Za-zÀ-ÿ'\-\ ] but 
nothing seems to work correctly.

Sure would appreciate some help on this ... what am I missing?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352628
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to