How to Hide a Field using a UI POlicy

Nilanjan1
Mega Sage

Hello All, 

Request your help, I have created a form but I would like to hide a few fields and only make it visible when selecting a certain selection, can this be done through a UI policy, If yes, how?

Regards

1 ACCEPTED SOLUTION

Gaurav Shirsat
Mega Sage

Hi Nilanjan

Happy that You got the Answer by our references.

It is always a Best Practice, when you are perform the activity at client side,always first check whether you can achieve your goal by configuration or not.?

UI Policy always better in this case but still if you are looking for additional functionality then go for Client Script.

These are some useful benefits of both:-

1)Both runs on users browser where we have JavaScript run engine.

2)UI Policies Runs after Client Script but in terms of Execution the UI Policies are Faster because of NO Scripting involved.

3)also you can run client scripts in UI Policies.

4)Client Scripts gives you the Chance for out of the box solution scripting facilities.

 

Please Mark Correct and Helpful

Thanks and Regards

Gaurav Shirsat

View solution in original post

6 REPLIES 6

Nilanjan1
Mega Sage

Thank you I was able to resolve it. Appreciate your time and help

Gaurav Shirsat
Mega Sage

Hi Nilanjan

Happy that You got the Answer by our references.

It is always a Best Practice, when you are perform the activity at client side,always first check whether you can achieve your goal by configuration or not.?

UI Policy always better in this case but still if you are looking for additional functionality then go for Client Script.

These are some useful benefits of both:-

1)Both runs on users browser where we have JavaScript run engine.

2)UI Policies Runs after Client Script but in terms of Execution the UI Policies are Faster because of NO Scripting involved.

3)also you can run client scripts in UI Policies.

4)Client Scripts gives you the Chance for out of the box solution scripting facilities.

 

Please Mark Correct and Helpful

Thanks and Regards

Gaurav Shirsat