Updating a boolean field after an update is performed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2013 07:55 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2013 12:46 PM
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!!