I am attempting to use a SIL validator to check for the default value of "None" and return an error.
Current script:
string errorMsg1 = "Please verify that the field 123456 has a selected value other than None";
if(!contains(cf_123456 = "None") {
return false, cf_123456, errorMsg1;
}
Currently get an error on the above, any ideas or suggestions
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.