setValue not working with Radio Button Choice field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2024 08:44 AM
Hi:
I am am able to change the value of a Radio Button Choice field using gr.setValue in a script include, and then use gr.update to update the record. However, the change does not appear on the form (table form) until I "manually" refresh the form.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2024 09:22 AM
Hi Christine,
To see the field update on the form without refreshing, you'll want to end up doing a g_form.setValue('field_name') triggered in an onLoad or onChange Client Script, or UI Action - whatever you are using to trigger the update now. In this way the record doesn't get updated until the user saves/submits/updates the form. What triggers your Script Include now, and why are you updating the currently-displayed record within that?