If I had a list box like (below).
Is it possible to have a submit button to detect if someone has selected an option in the menu?
So if someone just press the submit without selecting an option in the menu a Javascript will alert("error"
<select name="bactivity" size="1" length="100"">
<option value="Selection" selected>Select one option</option> <option>Agriculture/Forestry/Fishing</option>
<option>Business Services</option>
<option>Central/Local Government</option>
</select>
Is it possible to have a submit button to detect if someone has selected an option in the menu?
So if someone just press the submit without selecting an option in the menu a Javascript will alert("error"
<select name="bactivity" size="1" length="100"">
<option value="Selection" selected>Select one option</option> <option>Agriculture/Forestry/Fishing</option>
<option>Business Services</option>
<option>Central/Local Government</option>
</select>