CIS-ITSM Service Catalog And Request Management Practice Question
An administrator needs to write an onSubmit Catalog Client Script that validates whether at least one checkbox in a group of ten checkboxes is checked before the item can be added to the cart. Which approach should be used?
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
✓
Iterate through the checkbox variable names using g_form.getValue() and return false if none are true, preventing submission.
Using g_form.getValue() or iterating through variable names to check their values is standard, but in Service Portal, asynchronous validation requires careful handling or standard g_form synchronous checks where applicable.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Write a Client Script on the sc_cart table to intercept the checkout action.
Why it's wrong here
Catalog client scripts must run on the catalog item form, not the cart table.
- ✗
Configure a Dictionary Override on the sc_req_item table to enforce mandatory checkboxes.
Why it's wrong here
Dictionary overrides apply to table fields, not catalog variables.
- ✓
Iterate through the checkbox variable names using g_form.getValue() and return false if none are true, preventing submission.
Why this is correct
Checking values via g_form methods ensures compatibility across Service Portal and desktop interfaces without violating DOM isolation.
- ✗
Use document.getElementsByClassName() to count checked elements directly from the DOM.
Why it's wrong here
DOM manipulation is unsupported and discouraged in Service Portal and mobile interfaces.
About these practice questions
Courseiva writes every CIS-ITSM question from scratch — 500 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official ServiceNow exam blueprint
This CIS-ITSM 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 CIS-ITSM exam.