CSA · Question #86
What is a no-code approach to control the mandatory or read-only state of a form field?
The correct answer is E. UI Policy. UI Policies provide a no-code method within ServiceNow to dynamically set form fields as mandatory, read-only, or visible based on specific conditions.
Question
What is a no-code approach to control the mandatory or read-only state of a form field?
Options
- AUI Action
- BClient Script
- CUI Script
- DUI Rule
- EUI Policy
How the community answered
(55 responses)- A2% (1)
- B7% (4)
- C4% (2)
- D2% (1)
- E85% (47)
Why each option
UI Policies provide a no-code method within ServiceNow to dynamically set form fields as mandatory, read-only, or visible based on specific conditions.
UI Actions are used to add buttons, links, or context menu items to forms and lists, often requiring server-side or client-side scripting to define their behavior.
Client Scripts are JavaScript code executed on the client-side (web browser) and require coding to control form field properties dynamically.
UI Scripts are global client-side scripts that can be reused across different forms but still require JavaScript coding.
UI Rule is not a standard or recognized ServiceNow feature for controlling form field states.
UI Policies allow administrators to apply form field logic without writing any code by defining conditions and actions. They can make fields mandatory, read-only, or hidden/visible, and clear field values, enabling dynamic form behavior based on user input or other field values.
Concept tested: ServiceNow UI Policy functionality
Source: https://docs.servicenow.com/bundle/utah-platform-administration/page/administer/form-administration/concept/c_UIPolicy.html
Topics
Community Discussion
No community discussion yet for this question.