Test Your Work
- Navigate to Incident > Open
- Without opening a record, pick any Incident in the list. Record the current value of its State field
- Update the value of State to Resolved from the list view ->
- Double-click the State field
- Select Resolved from the drop-down list
- Select the green checkmark to save the change
- Did an alert appear advising you cannot change the State to 'Resolved' from a list? If not, debug and re-test your script
- Select OK
- Did the Resolved value remain in the State field? Why or why not?
- Hold the Shift key down, then select multiple State fields
- Double click any of the selected State fields, change its value to Closed, and select Save
- Did an alert appear advising you cannot change the State to 'Closed' from a list? If not, debug and re-test your script
- Select OK
- Did the Closed value remain in any of the State fields? Why or why not?
- Select OK
- Make the Lab 2.1 onCellEdit Alert Client Script inactive