I want to display my form section based on the click of UI action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2023 01:49 AM
Hi All ,
I have a requirement where whenever I click on a UI action names as 'Action needed' then it should display a form section .
How can I code it and implement this scenario ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2023 02:52 AM
Hi @Pooja Khatri ,
Please use the below code in order to show a section on click of ui action button.
Code:-
Please mark my answer as helpful and mark it as an answer, if it helps you !!
Thanks & Regards,
Suma.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2023 03:19 AM
Hi @Mallidi Suma - There is already one function which has some different functionalities called from the onclick tab in my UI action .
Can I define two functions in the onClick tab in the UI action ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2023 03:27 AM
Hi @Pooja Khatri ,
Write this line " g_form.setSectionDisplay('tohide_section', true);" inside the existing onClick function.
Please mark my answer as helpful and mark it as an answer, if it helps you !!
Thanks & Regards,
Suma.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2023 03:57 AM
Hi @Mallidi Suma - I Tried with this , but its not working out .. can you provide any other way in which I can implement it ?