Hello I'm building a fillable form where if the field "Family Member Member1" is filled than the field "age1" becomes required.
What I'm having trouble with is once "age1" is required id like to make an if-then statement where it looks to see if "age1" is required than on blur if left blank to prompt message "cannot be left blank".
You can use this code:
if (event.target.required && event.target.valueAsString=="") app.alert("You can't leave this field empty!");
Thank you, this is great!