We're reclaiming inactive PDIs to keep them available foractive builders.Learn what's changing, who's affected, and how to protect your work. Read More
I'm trying to implement the UI Policy like David O'Brien posted above.If the State=Closed Complete, the mandatory fields are enforced. Otherwise, don't enforce the mandatory fields.I have created a UI Policy with the condition: State --is-- Closed Co...
Hi Syed,The g_form.checkMandatory is also not working in Fuji.The script in your post works to clear the mandatory attributes for the fields when David O'Brien's example State=Draft.However, if the State is then changed to another State, the mandator...
Hi Julian,Could there possibly be a scoping issue with your variable 'i' you are using for your loop that may be causing the unexpected behavior?You may try changing your for statement to:for (var i=0;i<arrFields.length;i++)
Hi Johannes,Is your "asset_name" variable a reference variable?If so, you need to replace:items.variables.asset_name = 'No Asset';with:items.variables.asset_name.setDisplayValue('No Asset');(assuming you have a record with that name).