Customer Properties:
To turn on class trial, use the following. Note that this key will be removed when we are ready to turn the feature for everyone.
CLASS_REGISTRATION_TRIAL_FEATURE_ENABLED=true
And especially turn off:
CLASS_REGISTRATION_TRIAL_FEATURE_DISENABLED=true
Class (tms):
Set up a session based class similar to holiday clinics
Tick “Enable Online Trial Registration”
Untick “Enable Online Registration”
This is turn the class into an online registration class only, with $0 fee.
Custom fields by program config
up to 4 customised fields are supported. Answers will appear in the trial note.
Custom fields are set in the program config (just like term class registration)TRIAL_CLASS_REGISTRATION_CUSTOM_FIELD_1_ENABLED=TRUE TRIAL_CLASS_REGISTRATION_CUSTOM_FIELD_1_HIDE=TRUE TRIAL_CLASS_REGISTRATION_CUSTOM_FIELD_1_LABEL=Custom Label 1 TRIAL_CLASS_REGISTRATION_CUSTOM_FIELD_1_TYPE=textarea TRIAL_CLASS_REGISTRATION_CUSTOM_FIELD_1_DESCRIPTION=Custom desc 1 TRIAL_CLASS_REGISTRATION_CUSTOM_FIELD_1_SELECTIONS=a,b,c,d
Note: Supported type=[text,radio, select, textarea]
Other fields by program config:
TRIAL_CLASS_REGISTRATION_DISPLAY_DAYS_AHEAD
trial page to displays the # days ahead of the booking dates. e.g. 14 means the page will only display sessions in the next fortnight
e.g. TRIAL_CLASS_REGISTRATION_DISPLAY_DAYS_AHEAD=14
Mandatory fields
Deine mandatory fields using TRIAL_CLASS_REGISTRATION_FIELD_REQUIREMENTS
e.g. make DOB, referral and custom field 1 mandatoryTRIAL_CLASS_REGISTRATION_FIELD_REQUIREMENTS=[DOB][REFERRAL_SOURCE][TRIAL_CLASS_REGISTRATION_CUSTOM_FIELD_1]
Supported fields include:DOB PARENTS GENDER ADDRESS SUBURB STATE POSTCODE REFERRAL_SOURCE TRIAL_CLASS_REGISTRATION_CUSTOM_FIELD_1 TRIAL_CLASS_REGISTRATION_CUSTOM_FIELD_2 TRIAL_CLASS_REGISTRATION_CUSTOM_FIELD_3 TRIAL_CLASS_REGISTRATION_CUSTOM_FIELD_4
Hiding fields
this is generally not used, but we can hide some field if needed
e.g. the following will not display parent or DOB fieldsTRIAL_REGISTRATION_HIDE_PARENT=true TRIAL_REGISTRATION_HIDE_DOB=true
Supported:TRIAL_REGISTRATION_HIDE_GENDER TRIAL_REGISTRATION_HIDE_DOB TRIAL_REGISTRATION_HIDE_PARENT TRIAL_REGISTRATION_HIDE_ADDRESS