-
1. Re: Help Enforcing "Required" Field
GKaiseril Sep 4, 2013 2:32 PM (in response to lmphil)This is not a good idea. Yo can lock a user into a form field that they do not know how to complete and cannot get out of the form.
You need to write JavaScript to verify that the required fields are completed before you unlock or mark the field as complete.
You also should consider highlighting the problem fields.
You can use the "Required" property and use the "value" and "defaultValue" properties of the field to see if default value for the field has been changed.
-
2. Re: Help Enforcing "Required" Field
lmphil Sep 5, 2013 6:27 AM (in response to GKaiseril)Thanks for your input. Could you give me some help with a script that validates if the default value has been changed and alerts if it has not.
-
3. Re: Help Enforcing "Required" Field
lmphil Sep 9, 2013 11:47 AM (in response to GKaiseril)Is there any way to generate an alert if the user tabs past a particular "required" form field with entering any data? Please let me know your thoughts on this.
-
4. Re: Help Enforcing "Required" Field
lmphil Sep 9, 2013 11:53 AM (in response to lmphil)Is there any way to generate an alert if the user tabs past a particular "required" form field without entering any data? Please let me know your thoughts on this.
-
5. Re: Help Enforcing "Required" Field
try67 Sep 9, 2013 12:02 PM (in response to lmphil)Yes, there is. You can use the On Exit event with this code:
if (event.target.value==event.target.defaultValue) app.alert("This field is required!",1);
-
6. Re: Help Enforcing "Required" Field
lmphil Sep 9, 2013 12:26 PM (in response to try67)Works perfectly! You are a genious!! Thank you very much!



