How to show fields on a form onclick of ui action??

jayasri
Tera Contributor

Hi All,

I want the field to be visible on form when user click on ui action.

I have created onload client script to hide the field on form. In ui action client script im displaying the field using setdisplay. But when i reload the form ,fields are hiding because of onload client script i have created. I want the fields to be on form after clicking ui action. How can i achieve this?

5 REPLIES 5

Dubz
Mega Sage

I think your best bet is to have a UI policy making the fields non-visible when a hidden field (just a checkbox will do) is set to false. Then your UI action can set that field to true, as long as you have reverse when false ticked on your UI policy it will make the fields visible.