Munson, Jacob wrote:
> I copied/pasted your exact code in a form and I got your message when I
> put invalid text in the field: "You must enter your Name".  There must
> be something else wrong...what browser are you testing with



Here's the weird part...
1. If I leave the field blank, I get the correct error message.
2. If I enter invalid text ("Bob@@", for example) - I get the "The value 
entered in the field MyName is not correctly formatted for the pattern 
^[a-zA-Z\s]+$."

This happens in I.E., Firefox, and Netscape for me - Win2000 Pro


>> <cfinput type="text"
>>    name="MyName"
>>    required="yes"
>>    message="You must enter your Name"
>>    validate="Regular_expression"
>>    pattern="^[a-zA-Z\s]+$"
>>    validateAt="onSubmit, onServer">
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241871
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to