Have a bit of a issue. I need to check that every
licensenumber text box is filled in
If i try to pass it as a array it does not work.
Here is my code
// Check the value of the element named text_name
// from the form named text_form
if (text_form.licensenumber.value == "")
// If null display and alert box
alert("Please fill in the text field.");
// Place the cursor on the field for revision
// return false to stop further processing
// If text_name is not null continue processing
<form action=checkout.php method=post onsubmit="return Blank_TextField_Validator()" name="text_form">
<input type=submit name=submit value="Proceed To Checkout">
How can I check that both fields have been filled out?
Thank you very much. This worked perfect is there a away to add it so it check if another field has also been filled in?
So would appear like this
Pop up Box
- Please enter a licence number
- Please enter your name
Thanks in advance