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:
#_TASKSIGNUPCHECKBOX
displays a checkbox so the person signing up can choose which tasks he wants to signup for#_TASKHTMLID
This 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:
#_LASTNAME
displays a text input field for the name of the respondent.#_EMAIL
displays a text input field for the e-mail address of the respondent.#_FIRSTNAME
displays a text input field for the firstname of the respondent.#_PHONE
displays a text input field for the phone of the respondent.#_FIRSTNAME
,#_ADDRESS1
,#_ADDRESS2
,#_CITY
,#_STATE
,#_ZIP
or#_POSTAL
,#_COUNTRY
(*) (pretty obvious …)#_BIRTHDAY_EMAIL
shows a form field (yes/no) to allow people to indicate they want an email (or not)#_BIRTHDATE
shows a calendar allowing people to indicate their birthdate#_BIRTHPLACE
shows a text field allowing people to indicate their birth place#_COMMENT
displays a text input field for a comment to be added to all signups.#_REMEMBERME
and#_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.#_GDPR
shows 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.