Hi All,
Just wondering if you could give some help with some javascript code
please. I have some form validation code which simply sees if a field is
empty or not:
if (document.particulars.username.value == "") {
alert('Please Enter a Username');
return false;
}
But what can I add to see if the username field contains the character ';'
or has any spaces. If it does contain any of these, it must bring up an
error.
Help would be greatly appreciated.
Thank you.
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/