|
MartynB -> RE: Please can you help with this Javascript? (11/4/2007 18:00:38)
|
The script works perfectly in the two textboxes (for the name and email address) in that it traps null entries. In the textarea, however, the script appears to ignore a null entry and allow submission of the form. In effect a user can send a name, email address and no comment and this is what I wish to prevent. I been doing some more crash JavaScript and think that I've worked out that if I use a .js file and a function I could pass the field to the function server-side and it would return an appropriate response. I must try this out.
|
|
|
|