- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2022 11:54 AM
Hi,
I am using an onLoad script and g_form.setValue() to populate some fields in a catalog form. The fields that are affected by UI policies have interesting behavior. The references and drop downs are working fine. However, the textfields will remain empty with a red border on the field. Does anyone know why this is happening? Also, g_form.setReadOnly() does not work on any field that is affected by a UI policy. Is there any solution to this? Any help is appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2022 12:01 PM
UI policies execute after Client Scripts. On your UI policies actions, are you clearing the variable values? If so, that is likely the reason.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2022 12:01 PM
UI policies execute after Client Scripts. On your UI policies actions, are you clearing the variable values? If so, that is likely the reason.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2022 12:27 PM
Thanks Mike! After unchecking the "clear value" box, things are working fine now. Even the read only is working now.