OnLoad Client Script:
- Runs When Form Opens — In ServiceNow, this script automatically runs in the background as soon as a form opens, before the user can click or type anything on the form.
- Controls How Form Looks — It is mainly used to change the form appearance like hiding fields, making fields mandatory, or pre-filling values so that form is already set up when user sees it