Sometimes you may want the member template to change their structure based on the custom fields associated with a team member. If a team member is attending an event perhaps they should have a ribbon showing up with their confirmed status. If another member is not coming for the meeting a field should appear in their cell displaying the reason they have provided for not showing up. In the simple example on this page we will explore such an application of the meta key logic system provided in MTS.
Below there is a team grid displaying profiles of 3 speakers who have been invited at an event. If a speaker will not be attending the event their cell will display their reason for absence, but if they are attending, or remain unconfirmed, their cell will display other information about their talk.
A link to a page with the following MTS form may be sent out to the speaker David Hemsworth so that he may update the event organisers about his status. This form may even be password protected (not shown in this example).
Please try experimenting with the values in this form and watch the information change in the member cells.
For the purpose of this demo the page will refresh when this form is submitted and David’s member cell will change based on the information provided in the form. The details about his speaking engagement will be replaced by reason for absence if he will not be attending.
However, since this is a demo, the details will be wiped clean when you refresh the page again.