Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Field validation failed using script trigger


Level 1

Hello I have been attempting to create a script to disable/enable mandatory fields with some success, however the form now makes these fields come up with a validation error which I have been unable to rectify.


if  (NSFin.rawValue == "0") {

this.mandatory ="disabled"; }

//make field optional

else {


= "error"; }

I am now getting the error "POBU Validate Failed" with all four fields having the same result.  Would the script reseting cause this problem as this hadnt happened previously?

I can provide the form if that would make it easier to resolve.


1 Reply


Not applicable

Here is the form error - you need to select NS Financials first for script to enable the mandatory fields.  When you try to enter data into the field it will give the message that Validation failed.  Not sure if this is a settting on the field or related to the script.