Shortcode Video
Description
This shortcode provides a safe and secure way to enable new user signups and allow them to securely choose their own passwords. The form only appears to visitors who are not logged in.
Shortcode Examples
Simple Registration Form
[memb_registration_form success_url="/next-page/"]
<p>Name: <input type="text" required="required" name="FirstName"></p>
<p>Email: <input type="email" required="required" name="Email"></p>
<p>Password: <input type="password" required="required" name="Password"></p>
<p><input type="submit"></p>
[/memb_registration_form]Fancier Registration Form
[memb_registration_form success_url="/welcome/" tagids="gold,newuser" autologin="yes"]
<p>Name: <input type="text" required="required" name="FirstName"></p>
<p>Email: <input type="email" required="required" name="Email"></p>
<p>Password: <input type="password" required="required" name="Password"></p>
<p>Confirm Password: <input type="password" required="required" name="Password_confirmation"></p>
<p><input type="submit"></p>
[/memb_registration_form]Heads up! Note that in the above example, we’re using the default Keap/Infusionsoft “Password” field. If you’re using a custom field for a password, you will need to change this to map to your custom field. Custom fields start with an underscore (_).
Adding checkbox, radiobox and dropdown (select) elements in the form:
[memb_registration_form success_url="/welcome/" tagids="gold,newuser" autologin="yes"]
<p>Name: <input type="text" required="required" name="FirstName"></p>
<p>Email: <input type="email" required="required" name="Email"></p>
<p>Password: <input type="password" required="required" name="Password"></p>
<p>Confirm Password: <input type="password" required="required" name="Password_confirmation"></p>
<p><input type="radio" name="FieldName" value="ValueToBeSavedinInfusionsoft">First radiobutton example</p>
<p><input type="radio" name="_CustomFieldName" value="ValueToBeSavedinInfusionsoft">Second radionbutton example</p>
<input type="checkbox" name="FieldName" value="ValueToBeSavedinInfusionsoft">First checkbox example<br>
<input type="checkbox" name="_CustomFieldName" value="ValueToBeSavedinInfusionsoft">Second checkbox example<br>
<p><select name="FieldName">
<option value="ValueToBeSavedinInfusionsoft">Value to be displayed on the site</option>
<option value="ValueToBeSavedinInfusionsoft">Value to be displayed on the site</option>
<option value="ValueToBeSavedinInfusionsoft">Value to be displayed on the site</option>
</select></p>
<p><input type="submit"></p>
[/memb_registration_form]Multiple select fields example:
[memb_registration_form]
<input name="_CustomField[]" type="checkbox" value="dallas" />Dallas
<input name="_CustomField[]" type="checkbox" value="houston" />Houston
<p><input type="submit"></p>
[/memb_registration_form]
Shortcode Parameters
autologin | Set to yes to autologin the user after successful registration. Defaults to no. |
|---|---|
date_fields | A comma separated list of the fields used to store date information, so that Memberium can convert these fields to the date/time format that Infusionsoft needs. Optional, only required if you’re using date fields. |
failure_url | The URL to redirect to if the signup fails. Optional. Defaults to the current page. |
form_id | The CSS ID to use for the form. Optional. Defaults to a system generated CSS value. |
goal | The Campaign Builder API goal to trigger if the signup is successful. There is no failure goal since a failure does not create a new contact. |
pass_fields | Whether to pass the form fields to the next page. By default this is disabled. Set this to a non-zero value to enable this feature. By default, the password is not passed to the next page. |
pass_password | Whether to include the password in the fields passed to the next page. By default this is false. Set this to a non-zero value to enable this feature. If pass_fields is not enabled, then this setting has no effect. |
required_fields | A comma separated list of fields that must be populated in order to complete processing the form. This is a server side check, and does not replace any JavaScript or HTML form validity checks you may wish to use. |
success_url | The URL to redirect to if the signup is successful. Optional. Defaults to the current page. |
tagids | A comma separated list of tags to apply if the signup is successful. |
Shortcode Attributes
| Conditional | No |
|---|---|
| Nestable | No |
| Accepts formatting | Yes |
| Capturable | No |