How to set form view based on value using onload client script

kalyani23
Tera Contributor

Hi ,

I am trying to set form view based on the value in form using onload client script.

I have tired with switch view method , but the page is loading continuously  . please help over here

 

Thanks & Regards,

kalyani

 

 

 

4 REPLIES 4

Maik Skoddow
Tera Patron
Tera Patron

Hi @kalyani23 

please explain why you want to do it on client side. It is not recommended as the page has to be loaded again, what is a really bad user experience.

Maik

Hi @Maik Skoddow 

 if client side is not the best approach, can u suggest me another approach to make it work. 

Regards,

kalyani

 

Hi Maik,

Yes I have tried using View Rules and it worked .

thank you