JS document.getElementById function in the script of catalog form
Article ID: 115287
CA Service CatalogCA Service Management - Asset Portfolio ManagementCA Service Management - Service Desk Manager
document.getElementById() call no longer work in the form's JS script code on different catalog systems
Service Catalog 14.1 , Service Catalog 17.1
"x-auto-10-input" used here can be different if the form is changed ( for example , more fields are added into it ) or it is exported and imported on different catalog system .
it is not recommended to use js function document.getElementById() to manipulate the components ( such as text field , select field , etc ) in catalog form unless you absolutely have to . It is recommended to use OOTB catalog's js functions to achieve the same thing as possible as you can .