- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2019 01:23 PM
I want to lock down a form and all related fields to read only when a UI action button "finalized" is clicked.
This is the current script on the UI action that is not doing this.
//script
gs.addInfoMessage('Your audit is now finalized!');
current.active = false;
current.finalized = true;
action.setRedirectURL(current);
current.update();
//end script
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2019 04:37 PM
Use below to make field read only in UI action
g_form.setReadOnly('number', true);
Regards,
Sachin

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2019 04:37 PM
Use below to make field read only in UI action
g_form.setReadOnly('number', true);
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2019 09:09 PM
Hi,
Can you more explain your requirement? what is the mean by "lock down a form"?
Regards,
Naveen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2019 09:46 PM