The pattern allows you to validate the input provided by the participant. For example, it can be used to verify a membership number or to ensure that offers can only be booked with this specific input (if the field is mandatory).
To implement this in the participant form, first navigate to the global settings and create a corresponding participant data field. In our example, this would be the member card.
Next, go to the "DesignManager" and add the newly created form field to the "Participant Form" template. In its settings, under "Field Settings," you can now select "Validate input using a pattern (Expert)" A.
Subsequently, you can define the format for your member card. For instance, (Test)[0-9]{3} would correspond to an input like Test123. To validate your input, please utilize Regex. Complete the remaining settings as usual.
If the input is correct, the field will be highlighted in green.
Example: Email Domain Validation
Example with a single domain:
[a-zA-Z0-9._%+-]+@edoobox\.com
→ Registration is only possible with an email address ending in @edoobox.com
Example with two allowed domains:
[a-zA-Z0-9._%+-]+@(edoobox|bildung)\.com
→ Registration is only possible with an email address ending in @edoobox.com or @bildung.com
Related Guides
Keywords for this guide
Pattern ¦ Validation ¦ Member Card ¦ DesignManager