Forum Moderators: coopster
Maximum of 30 chars.
Allow - and ' chars as there are name O'Reilly and Mohammad-ShaH
All other cases invalid
Another thing if i have <input type="text" value="name" size=30> then whatever the user enters that will be taken as a string or array or that depend on the input?
also u can limit on the form the maximum length by:
<input type=text name='name' size=30 maxlength=30>
in regards to checking for the dash(-) and quote('), you'll need regualr expresions, im bad at that. maybe someone else can chime in