I am using the cfinput tag, validate="regular_expression" and I am totally 
confusing myself on trying to work out what the pattern should equal. Basically 
I want the user to only be allowed to enter one of the following values

0,5,10,15,20,25,30,35,40,45,50

They cannot enter anything else i.e. 55

I tried using the following pattern "(0|5|10|15|20|25|30|35|40|45|50)" but I do 
not think I an fully understanding this as part of the validation works but it 
also allows 55 to be entered, I think that is because the individual value 5 is 
allowed? Can anyone give me some pointers?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217757
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