Asked: Jun 2 2008 4:14 PM GMT
Asked by: Jgtexas
Domino JavaScript combobox validation
Domino,
JavaScript,
Validation
I would like to ask if someone has a JavaScript code which does the validation on a combobox field. If nothing is selected, a warning pops up and reminds the user that a value has to be selected. I tried to use this code which works fine on regular text fields:
if (document.forms[0].AppName.value == "")
{
alert("You have not selected an application. Please select an application and then continue.");
document.forms[0].AppName.focus();
return false;
}
I would appreciate it if I can get any help on this.