The task signup form consists of 2 parts:
– a per-event entry for the tasks with a checkbox to indicate which tasks you want to use
– a section with the form asking for lastname/firstname/email.
For the per-event entries, the shortcode eme_tasks_signupform provides the option “template_id” (or a generic EME setting), which in fact is repeated for each task in an event. This template can contain all the task placeholders and the following:
#_TASKSIGNUPCHECKBOXdisplays a checkbox so the person signing up can choose which tasks he wants to signup for#_TASKHTMLIDThis can be used in the tast formfield to e.g. enclose extra task info in a html-label in the task signup form format. See this example:
#_TASKSIGNUPCHECKBOX <label for=”#_TASKHTMLID”>#_TASKNAME (#_TASKBEGIN – #_TASKEND) (#_FREETASKSPACES/#_TASKSPACES)</label>
If #_TASKSIGNUPCHECKBOX is missing from the template, it will be prepended.
This placeholder is NOT to be used in the “task signup form” template where you ask for personal info. See below for the placeholders you can use there.
For the form asking for personal info like lastname/firstname/email (only configurable globally in the EME generic settings for tasks) you can use the following placeholders:
#_LASTNAMEdisplays a text input field for the name of the respondent.#_EMAILdisplays a text input field for the e-mail address of the respondent.#_FIRSTNAMEdisplays a text input field for the firstname of the respondent.#_PHONEdisplays a text input field for the phone of the respondent.#_FIRSTNAME,#_ADDRESS1,#_ADDRESS2,#_CITY,#_STATE,#_ZIPor#_POSTAL,#_COUNTRY(*) (pretty obvious …)#_BIRTHDAY_EMAILshows a form field (yes/no) to allow people to indicate they want an email (or not)#_BIRTHDATEshows a calendar allowing people to indicate their birthdate#_BIRTHPLACEshows a text field allowing people to indicate their birth place#_COMMENTdisplays a text input field for a comment to be added to all signups.#_REMEMBERMEand#_REMEMBERME{xx}will show a “Remember me?” checkbox if the remember-me functionality is activated in the EME settings. By default the label is “Remember me?”, but using#_REMEMBERME{xx}you can change the label to “xx”.#_SUBMIT(*) or#_SUBMIT{xx}displays displays the submit button with – optional – between the braces the text you want for the button (qtranslate compatible).#_CAPTCHA(*) displays the captcha field if required. If required and the placeholder is not present, it will be added just before the submit button.#_GDPRshows a checkbox that needs to be checked in order for people to approve for data storage. You can use#_GDPR{xx}to add ‘xx’ as a label to the checkbox.
The placeholders marked with “(*)” will be added automatically if missing.
Next to these placeholders, you can use custom field placeholders too ( #_FIELD{xx} ). The answer to these will be stored for each signup made. While not visible in the list of signups (yet), the CSV export link in the task signup overview in the admin menu will give you all the answers.