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

will_smith
Mega Guru

I would suggest using a UI action on the incident field to hide the fields conditionally. This method is easier to implement than an ACL and it doesn't involve client scripts.


Ravi Prasad1
Tera Guru

As per my knowledge ACL's will not impact the form loading like Client scripts or UI policies.


Thank you for assistance


geoffcox
Giga Guru

Correct, except I think you meant "read" ACLs.


Sure, we talk only abour "read" ACL