SNOW-CAD User Interface Development Practice Question
A developer needs to display a warning message to the user when the 'priority' field is changed to '1 - Critical'. Which TWO client-side implementations can achieve this?
⚠ Common exam trap
Test-takers frequently confuse server-side implementations (Business Rules, Data Policies) with client-side ones, or mistakenly think an onLoad script can detect a field change that occurs after the form has loaded.
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
✓
UI Policy with condition: 'Priority changes' and action script to call g_form.showFieldMsg()
A UI Policy with the condition 'Priority changes' triggers an action script when the priority field is modified, allowing the use of `g_form.showFieldMsg()` to display an inline warning message on the field. Option E is correct because an onChange client script fires when the 'priority' field changes, and within it you can check `newValue` against '1 - Critical' and call `g_form.showFieldMsg()` to show the warning. Both are client-side implementations that respond to field changes without a server round-trip.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Business Rule with 'when to run' set to 'before' and script to call g_scratchpad.message
Why it's wrong here
Wrong: Business Rules run server-side and cannot directly display client messages.
- ✓
UI Policy with condition: 'Priority changes' and action script to call g_form.showFieldMsg()
Why this is correct
Correct: UI Policies can run client-side scripts on field change.
- ✗
onLoad client script that checks the current value of priority and shows a message
Why it's wrong here
Wrong: onLoad only runs once when form loads, not on field change.
- ✗
Data Policy with condition on priority field and message set
Why it's wrong here
Wrong: Data Policies are server-side and do not display dynamic client messages.
- ✓
onChange client script with a condition to check newValue and call g_form.showFieldMsg()
Why this is correct
Correct: onChange client script triggers on field change and can show messages.
Go deeper
Related to this question
About these practice questions
This SNOW-CAD question is part of Courseiva's 481-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This SNOW-CAD 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-CAD exam.