Script Helper
QVS-007 Members Test before use
State-specific question
Show a state-mandated question only to residents of certain states.
Questions › Set VisibleQuestionSetVisibleBeginner
Test before use. This script hasn't been tested by Catalyst Workflow yet. Run it in a non-production case first.
JScript.NET
1// QuestionSetVisible — CA and NY residents only
This script is for members
Members see the full code, the values to change and the cautions.
See membershipAlready a member? Sign inHow it works
Uses the employee's residence address. Event.EnrollmentState is also available, but confirm its format (name vs. abbreviation) with Event.Debug first.
Members also see 1 value to change and 0 cautions for this script.