Hey all.
I would like to know how to write form validation which will not allow whitespace to be included in a text box and return an error if the user attempts to submit the form whilst there is a space in the text box.
I am pretty new to javascript and cant seem to find sample code that will do this.
Thanks in advance
I would like to know how to write form validation which will not allow whitespace to be included in a text box and return an error if the user attempts to submit the form whilst there is a space in the text box.
I am pretty new to javascript and cant seem to find sample code that will do this.
Thanks in advance