How to hide the field in the form on load
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2016 10:00 PM
How to hide the field in the form on load
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2016 10:18 PM
To hide fields onload, create UI policy with no conditions in it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2016 10:24 PM
To hide a field on a form Just create UI Policy
Open a form and right click and configure and chose UI Policy.
Give the name and in condition you can keep empty or if you want to specify for particular value on the form when load this hide should happen ( specify optional)
Click on save
Now chose which field to hide in UI Policy action and set Visible to False.
This will hide the field on form when load.
( Please not if you use advance view you can see OnLoad option checked by default)
Hope this Helps.
Please select correct answer or the tips provided is helpful
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2016 10:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2016 10:51 PM
Hi Veeramachaneni,
Yes UI policy is the best practise to hide the fields of form onload. But, still if you want to try some other way also.
You can create a onload client script and hide your fields like this as well:
g_form.setVisible(fieldName, false); // If second argument is true field will be visible.
Hope its helpful.
Thanks and Regards,
Vikas Malhotra