Courseiva
UI, Navigation and FormshardMultiple ChoiceObjective-mapped

SNOW-CSA UI, Navigation and Forms Practice Question

During form submission, a mandatory field is not highlighted in red, and the form submits without requiring it. The field is made mandatory by a UI Policy that checks a condition set by a Client Script on form load. What is the most likely issue?

⚠ Common exam trap

A common mix-up: candidates assume UI Policies and Client Scripts run in the order they appear in the application navigator, but ServiceNow explicitly evaluates UI Policy conditions before Client Scripts, regardless of the order they are created.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

The UI Policy runs before the Client Script

The UI Policy runs before the Client Script, so when the UI Policy evaluates its condition to determine whether to make the field mandatory, the Client Script has not yet set the condition variable. As a result, the UI Policy condition fails, the mandatory attribute is not applied, and the form submits without requiring the field. The correct order of execution is UI Policy conditions first, then Client Scripts, then UI Policy actions.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • A Data Policy overrides the mandatory attribute

    Why it's wrong here

    Data Policies enforce server-side and do not affect client-side highlighting.

  • The UI Policy is set to OnSubmit

    Why it's wrong here

    OnSubmit would validate on submit, but the symptom is lack of client-side highlighting.

  • The UI Policy runs after the Client Script

    Why it's wrong here

    If it runs after, the value would be set and the condition would apply correctly.

  • The UI Policy runs before the Client Script

    Why this is correct

    UI Policies execute earlier in the form load sequence; if the condition depends on a client script value, it may be missed.

About these practice questions

One of 504 original SNOW-CSA practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This SNOW-CSA practice question is part of Courseiva's free ServiceNow certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SNOW-CSA exam.