I have a form that I have restricted from printing (with the PrePrint validate element) - if a required field is not completed, ALL required fields are outlined in red along with the messagebox "At least one required field is empty....blahblahblah"
Is there any way to have the cursor jump to the missing field, or in any other way indicate WHICH field hasn't been completed?
Thanks again
What I used to do for my preSign event was,
1. loop through the field objects that needs to be checked
2. check property "mandatory" has "error" (which means that field is requiered field) for each object
3. check "rawValue" has value set or not for required field.
4. If no value set, then output empty message where you can maintain in [Object] ->[value] tab using "mandatoryMessage" property for the object.to set the focus to the field object should be
xfa.host.setFocus(object);
Unfortunatly I lost the script now so I can't provide you the actual one, but thought it might give you a clue.