Calendar: Set a Custom colour for each Event Form from a Performance Standard when the Event Form appears on the Calendar Module
The previous lesson reviews how you can set the colour of an Event Form to appear on the Calendar Module using the Custom Calendar fields. This is where you define the colour of the Event form based on one colour for Saved Event Data. This lesson shows you how to set up the colour of the Event Form to change according Perfomance Standard Colours set up for a Field from the Event Form.
You can set up a Event Form to colour based on a Performance Standard set up for a field in the Event Form
To set up a colour based on a Performance Standard/s, open the Event Form on the Builder site and go to the Form's Advanced Properties
The example here shows the Medical Investigations/Procedures Event Form being set up to colour based on a Performance Standard.
The "Calendar Auto Colour" field will enable you to select a field from the Event Form. The Performance Standards Colour/s set up for this field will set the Event Form's Colour in the Calendar
The example here shows that any Performance Standards set up for the field "Test" will be used to set the colour for the Event Form in the Calendar Page.
You need to select the Field from the Event Form that you require the colours from the Performance Standard to colour the Event Page. Here we are setting it up for the "Test" Field for the Medical Investigation Event Form. However, on different event forms you may choose to do it based on a field for injury status, an event time (e.g. 100m sprint time), or even allergy severity. Consider what will give your users the best colours to understand the results, or the type of entry that has been made.
Once you have set up the Calendar Auto Colour, you MUST also ensure that the field that you selected to colour the Event on the calendar is set up as a "Calendar Summary Field"
WARNING: ONLY one field from the Event Form can be set up as a Calendar Summary Field. If more than one field is set as a Calendar Summary Field then the Auto Colour will NOT work
If you have two or more fields from the Event Form set up as Calendar Summary Fields then the autocolour based on the Performance Standards will not work. The example here shows the Medical Investigations/Procedures Event Form has two fields set as Calendar Summary Fields. There is actually an Autocolour set up for the Event Form based on the Test field, but the Event Form colour is defaulting to green because two fields are set as Calendar Summary Fields.
A quick way to see if two or more fields are set as Calendar Summary Fields is to enter in some data for a Test Athlete on your system. Then, see what fields appear on the calendar. The image here shows that two fields are set to show as Calendar Summary Fields; Test and Test Results. If you wanted the autocolour to work for this Event Form, you would need to set one of those fields to "Calendar Summary Field" = False
Now create, or check, the Performance Standard/s set for the Event Form. Ensure that the field you selected as the "Calendar Auto Colour" is coloured as you require.
Enter in some test data for an test athlete for the Field that you have set up the Performance Standard Autocolour
Check the colour on the Calendar
You could set up different performance standards for male or female athletes, or even for different ages (using the filters when you set up the Performance Standards). The image here shows a Performance Standard set up for the Medical Investigations for females only
You could also use the Auto Colour to set the injury status in an injury record as the Calendar Auto Colour. The injury status here has been set as an Auto Colour Field. YOU can see that the injury status is "available to train and compete", and is a dark yellow.
As the Injury Status changes, so too would the colour of the record. The example here shows the injury status has changed to fully resolved and is green
Troubleshooting: If the colour is NOT showing correctly for the Event Form on the Calendar check through the steps below to ensure you have set it up correctly
1: Check that you have set the Calendar Autocolour to a specific field in the Event Form
2: Double check that the field you selected as the Calendar Auto Colour field is also set up as the "Calendar Summary Field"
3: Check that the field selected in 1 and 2 above is the ONLY field set as a Calendar Summary Field. If it isn't then the colours will NOT work.
4: Review your Performance Standards that are set up for the event form. If you have more than one, make sure you check that the colours are the ones you require (you may have 2-3, check each one to see if those colours are affecting the standard)
5: Check the colours on the actual Calendar Module by entering in data for a test athlete. Ensure you test all of the options for an event that is coloured.
6: Any problems, contact your distributor