Give me some inputs on on change client script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-30-2025 04:49 AM
"HR Planning & Operation" table i have two reference fields called 'Category '&'subcategory'. In Category and Subcategory records have a checkbox called "Allow approver user". When i create a record in HR planning & Operations table i will select category and subcategory which the checkbox is true. Then only the field "Approver" in HR planning& Operation table should be visible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-30-2025 04:54 AM
i have already tried UI polices but it no luck .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-01-2025 04:20 AM
Hi,
You have two reference fields and if both fields have 'true' value on their approval field then a new field approver should be visible on HR table right?
So, for this you have to create two Onchange client scripts for both fields.
Call GlideAjax to get the Value of their approval field.
If both values are true, then show the approver field on HR table using g_form.setVisible('my_field', true) function.