How do I set validation rules to check for SCCA license types?
Validation rules can help enforce rules and policies. The "True if license in comma-delimited list" test will look up a license (currently only for SCCA until other clubs make this data available) and take action based on whether or not the license is valid through the start date of the event.
Each validation rule may check one or more licenses separated by commas using the following table of options:
|All||Multi Event Waiver|
|Pro||Competition (including provisional pro licenses)|
|Club Racing||Emergency Services|
|Club Racing||F & C|
|Club Racing||Grid & Pit|
|Club Racing||Race Admin|
|Club Racing||Sound Control|
|Club Racing||T & S|
|Solo||Three Year SSS|
For checking a Solo Passport license, the validation rule would have a value of "solo:competition". For checking a registrar license, the rule would be "club racing:registrar".
If you want to check for a valid Club Racing license, the validation rule would have a value of "club racing:competition". This check is inclusive of National, Regional, and Full competition licenses. Multiple license checks use "program:license,program:license,program:license"
These checks are case-insensitive.
You can also check multiple licenses at once, such as looking for any valid Steward license: "club racing:steward,time trials:steward,rallycross:steward". If the attendee passes any of those three tests, they would be considered valid.