- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2023 10:46 AM
Is it possible to create a checkbox to show/hide a field on a form? For example, once the checkbox has been selected the field disappears but when unselected it is visible.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2023 10:51 AM
Yes you can do this with a UI Policy. Condition would be if checkbox = false, Then in the UI Policy actions you would add the field you want to make visible. As long as the UI Policy has reverse if false checked then it will automatically update the UI when some set the check box to true. You could also do this with a client script and g_form.setVisible.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2023 10:51 AM
Yes you can do this with a UI Policy. Condition would be if checkbox = false, Then in the UI Policy actions you would add the field you want to make visible. As long as the UI Policy has reverse if false checked then it will automatically update the UI when some set the check box to true. You could also do this with a client script and g_form.setVisible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2023 11:31 AM
Hi Brian,
Thank you for this. I tried and it worked

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2023 11:38 AM
Please mark my answer as correct. This will help any others who may have this question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2023 11:04 AM
Hi @SParker12,
I agree with Brian, you need to create an UI policy with conditions based on check box field and control the visibility of your field.
Thanks,
Sagar Pagar