Create an onLoad() Client Script

  1. Create a new Client Script
  2. Name: Lab 2.1 onLoad Alert
    Table: Incident [incident]
    UI Type: Desktop
    Type: onLoad
    Active: Selected
    Inherited: Not selected
    Global: Selected
    Description: Lab 2.1 onLoad Client Script
    
  3. Note the onLoad() function template populates the script field. Replace the existing comment and add the following alert to the function
  4. function onLoad(){
        //Type appropiate comment here, and begin script below
        alert("The form has finished loading and is ready for user input");
    }
    
  5. Select Format Code to re-align the script (This is a good habit to get into)
  6. Select Submit

results matching ""

    No results matching ""