How to make name value pair field read only ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2023 01:13 AM
Hi ,
I have tried onChange client script when field value is changed then name value pair field will be read only but after form has been submitted then field will be non read only , I have also tried UI Policy and Dictionary but it also not working , Please let me know .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2023 01:15 AM
What type of field/variable is this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2023 01:26 AM
Name-Value Pairs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2023 01:56 AM
I just tried and using this single line script ina client script im able to make these read only
g_form.setReadOnly('namevalue field name', true);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2023 02:46 AM
As per my requirement , field should be readonly after form has been saved ,
I have created Onchange client script when onchange field value is change then namevalue pair field will be readonly but after form has been saved then field will be non read only .