Hide fields before they will be displayed

Andrii
Kilo Guru

So I want to hide some fields on Incident Forma before they will be displayed and Loading Dialog described here is not an option. Every time Form gets loaded - I can see how fields displayed and then hiding. I don't want user to see this.

I read value from scratchpad and then use that value in Client Script to hide/show certain field. That is a bit slow - is there a way to make it work faster and not noticable for end user?

1 ACCEPTED SOLUTION

Ravi Prasad1
Tera Guru

Best solution for this is writing ACL's instead of UI policy or client scripts.



If use write ACL's then if user did not meet the access levels then fields will not be visible on form load.


Whereas if you use UI policies or Client scripts then while form loading those fields will be visible for some seconds then hide.




View solution in original post

14 REPLIES 14

Thank you Gurpreet, you are right. And I knew this information before I posted the question.


Ravi Prasad1
Tera Guru

Best solution for this is writing ACL's instead of UI policy or client scripts.


Another question in the same context - did you ever met any side-effects of using ACLs for displaying/hiding fields?


Ravi Prasad1
Tera Guru

Best solution for this is writing ACL's instead of UI policy or client scripts.



If use write ACL's then if user did not meet the access levels then fields will not be visible on form load.


Whereas if you use UI policies or Client scripts then while form loading those fields will be visible for some seconds then hide.




This is brilliant!!! Thank you!


P.S. ACL is the BEST!