G
Garry Jones
I want to ensure the users choose an item from a drop down list.
The preselected value is "Not Chosen"
Using script I cloned this from other working code, but it is broken
somewhere.
function checkform ( form )
{
if (form.ctsz.value == "Not Chosen") {
alert( "Choose Size or choose opt out" );
form.ctsz.focus();
return false ;
}
return true ;
}
Any help appreciated.
Garry Jones
Sweden
The preselected value is "Not Chosen"
Using script I cloned this from other working code, but it is broken
somewhere.
function checkform ( form )
{
if (form.ctsz.value == "Not Chosen") {
alert( "Choose Size or choose opt out" );
form.ctsz.focus();
return false ;
}
return true ;
}
Any help appreciated.
Garry Jones
Sweden