I have a requirement to show the form section tab only when it is submitted from a particular Recor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2025 07:04 AM
I have a requirement to show the form section tab only when it is submitted from a particular Record producer ,created Display Business rule and Onload client script its is working but after refreshing the page twice then it is showing the tab section. Need suggestion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2025 04:37 AM
Thank you for marking my response as helpful.
If my response helped please mark it correct and close the thread so that it benefits future readers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2025 08:27 AM
Hi @Sprankle
Fix Options
Option 1: Use onDisplay Business Rule directly for section visibility
Instead of passing only a flag to scratchpad, you can directly push a UI Policy / setSectionDisplay logic inside the onLoad script but controlled by g_scratchpad (ensuring it’s always available on first load).
Update Display BR like this:
Then your Client Script remains:
This ensures the scratchpad flag is always ready on first load.