I've got this:

<CFINPUT TYPE="text" 
   TYPE="text" 
   NAME="_username"
   validate="regular_expression"
   pattern="[A-Za-z0-9]"
   maxlength="20" 
   required="yes" 
   message="Please enter an alphanumeric username, without spaces">     

....but this will accept spaces. What code can I use to prevent spaces. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291161
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to