How to hide the fields on form

Anil74
Tera Guru

Hi All,

Can anyone help me out how to hide fields on form using java script.

Hide.png

If the user selects None or In progress choices from the Internal Interview drop down, then hide Feedback and Interviewer fields which are highlighted in the red color.

i have tried with below code but its not working for me

g_form.setDisplay('Interviewer', false);

g_form.setDisplay('Feedback', false);

thanks

1 ACCEPTED SOLUTION

Alikutty A
Tera Sage

Hi Anil,



You need to write a UI policy on the Table with condition as Initial Interview is None OR Initial Interview is In Progress and Add 2 new UI policy actions for the fields Feedback and Interviewer. On the UI policy action for 2 fields, set Visible to false to accomplish your requirement.



Thanks


Please Hit like, Helpful or Correct depending on the impact of the response


View solution in original post

20 REPLIES 20

Anil74
Tera Guru

Thank you all,



now am able to hide the fields based on conditions.