Here's my script located on the click event of an invisible button:
//Create a variable to hold the document object
var v1 = form1.page1.selEquip.regEquip.rawValue
//REGULAR EQUIPMENT
if ((v1 == " ") || (v1 == null))
{
xfa.host.messageBox( "Please select the type of equipment for this position" );
xfa.host.setFocus("form1.page1.selEquip");
}else {
{
Button4.execEvent("click");
}
}
When I test by clicking the initial button, nothing happens. Nothing shows in Ctrl + J nor does the script checker find anything wrong with the script.
Thanks,
MDawn