I am still trying to code a regex pattern for my cfinput that accepts the usual
accented characters you find in languages such as French. I need something that
allows people to enter their names when they contain accented characters. I
realize that names can be even broader than this but I am quite happy to
include all of the traditional alphabet, blanks, quotes, hyphens and accented
characters. What I would like to code is this: pattern="^[a-zA-ZÀ-ÿ'\-\
]{1,50}$"
But it seems that when I insert the little piece À-ÿ it fails inside the
ColdFusion javascript.
Is there some way I can code this in my cfinput pattern so that the regex does
accept that range of accented characters?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:352791
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm