The CreatorCon Call for Content is officially open! Get started here.

Updating a boolean field after an update is performed

tsam
Kilo Explorer

Hi -

I have a boolean field that I need set to false anytime a form is updated, copied or saved. I have tried using business rules and UI policies to no avail. Sample script I am using is:

------------------------------------------------------------
var review = g_form.getValue('u_reviewed');

if (review == 'true'){
g_form.setValue(u_reviewed == 'false');
}
--------------------------------------------------------------
I have also attached a screen shot of the UI condition here.

Can someone please point me in the right direction?

Thanks.

5 REPLIES 5

Thank you, thank you, thank you......That's exactly what I had in mind. :-)) I had already set the review button so only admins can change that.

Very great help!! Thanks again!!