Copy link to clipboard
Copied
If an inputted number is outside of a specific range, I would like the word "fail" to appear in another field otherwise the word "pass" should populate that field
Copy link to clipboard
Copied
Put a custom validation script on the field that needs to be tested. Something like this:
var nMin = 3, nMax = 10;
if((event.value > nMin) && (event.value < nMax))
this.getField("FieldStatus").value = "Pass";
else
this.getField("FieldStatus").value = "Fail";
Replace "FieldStatus" with the name of the field where the status text will be displayed
Copy link to clipboard
Copied
Put a custom validation script on the field that needs to be tested. Something like this:
var nMin = 3, nMax = 10;
if((event.value > nMin) && (event.value < nMax))
this.getField("FieldStatus").value = "Pass";
else
this.getField("FieldStatus").value = "Fail";
Replace "FieldStatus" with the name of the field where the status text will be displayed
Copy link to clipboard
Copied
BOOM !
Worked flawlessly on first test.
THANKS A ton
Find more inspiration, events, and resources on the new Adobe Community
Explore Now