Question 180
A developer proposes this approach: Use an appropriate onSubmit Client Script for immediate feedback and enforce the rule on the server too. Which business requirement is the strongest reason to choose it?
Explanation
Correct Answer
This business need directly motivates Use an appropriate onSubmit Client Script for immediate feedback and enforce the rule on the server too; Client-side submission checks improve usability but cannot be the sole source of data validation.
Incorrect Answers
The described situation is better addressed by Use a supported g_form API in client logic or a UI Policy to control field visibility. Client UI controls modify presentation and should not be treated as record security.
The described situation is better addressed by Check script type, target table and field, then debug in the browser with a reproducible test. Client execution failures require inspecting browser-side conditions rather than server logs alone.
The described situation is better addressed by Use GlideAjax with an appropriately secured client-callable Script Include when applicable. A supported asynchronous client-server call keeps privileged data access on the server.