This content has been marked as final.
Show 2 replies
-
1. Re: Required field
sonya1 Sep 15, 2014 5:00 AM (in response to Xen83)Him
On Exit event, write the below code
Textfield1.mandatory = "error";
xfa.host.setFocus(this);
another solutions is
if(Textfield1.rawValue == "" || Textfield1.rawValue == null)
{
app.alert("This is an mandatory field");
xfa.host.setFocus(this);
}
-
2. Re: Required field
Xen83 Sep 16, 2014 4:30 AM (in response to sonya1)Tnx!
When i use the code for more than one field i get an error.
Adobe will give an error for all field before i can type new info in the field.
