Notifications

Cancel changes

Description

DOM manipulation techniques for making fields read-only on a form can cause ATF failures. It causes ATF failure with error: Client request did not provide serialized form data.

Release or Environment

All

Cause

DOM manipulation is not advised in Servicenow, as it causes issues such as these. Read more in the product documentation: Avoid DOM Manipulation.

Example:

If we use a client script which contains the code with DOM Manipulation (.disabled=true;) to make field read-only, causes the parameters not to be able to get serialized from the form and It causes ATF failure with error: Client request did not provide serialized form data.