Avatar

Level 2

Once again, I am stumped by seemingly simple things!

I have a drop down box with no default values. I want to display an error message when the user tries to exit without selecting anything. However, my validation script isn't working. Here's what I have set up:

Under the validate event of the Script Editor, I test for blank or null values:

this.rawValue == "" || this.rawValue == null;

Then under the Validation Script message on the Object > Value tab, I have this simple message:

"Please select a type."

Users are able to exit without selecting anything. However, when they actually do select something, then my validation message is shown. What is the correct way of doing this? Thanks for your help.

--Bruce