tennisbuff
Technical User
Hi,
How does one go about using something like "Select an Option" for the first option in a select field, then validating that something was really selected for that field?
Here's a little example I was trying, but it doesn't work right.
For one thing right now it goes ahead and submits either way (how do I prevent that?) Plus when I did have it working so that it didn't go ahead and submit, when the alert came up saying to select a state, the country field's value would return back to "Select a Country".
Any suggestions much appreciated!
Thanks,
How does one go about using something like "Select an Option" for the first option in a select field, then validating that something was really selected for that field?
Here's a little example I was trying, but it doesn't work right.
For one thing right now it goes ahead and submits either way (how do I prevent that?) Plus when I did have it working so that it didn't go ahead and submit, when the alert came up saying to select a state, the country field's value would return back to "Select a Country".
Any suggestions much appreciated!
Thanks,