You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/member/registration.md
+78-55Lines changed: 78 additions & 55 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,6 +39,11 @@ This parameter allows you to specify the primary role to assign the new member,
39
39
40
40
The primary role that will be assigned to registered member. If omited, the default role will be assigned.
41
41
42
+
### `error_handling="inline"`
43
+
error_handling="inline"
44
+
45
+
This parameter allows you to use inline errors in your registration form. The errors can be displayed using `{error:field_name}` name where `field_name` would need to be replaced with the name of the field that has error, as used to compose the form.
46
+
42
47
## Form Inputs
43
48
NOTE: Be sure to include the required Javascript and CSS to use the native [Password Validation](member/password-validation.md).
44
49
@@ -60,8 +65,8 @@ Terms of Service acceptance. This is a **required** field:
<label for="terms_of_service">Terms of service:</label><br />
160
-
<div>All messages posted at this site express the views of the author, and do not necessarily reflect the views of the owners and administrators
161
-
of this site.By registering at this site you agree not to post any messages that are obscene, vulgar, slanderous, hateful, threatening, or that violate any laws. We will
162
-
permanently ban all users who do so.We reserve the right to remove, edit, or move any messages for any reason.</div>
163
-
</p>
164
-
165
-
<p>
166
-
<label><input type="checkbox" name="accept_terms" value="y" {if accept_terms == 'y'}checked="checked"{/if} /> I accept these terms</label>
<label for="terms_of_service">Terms of service:</label><br />
183
+
<div>All messages posted at this site express the views of the author, and do not necessarily reflect the views of the owners and administrators
184
+
of this site.By registering at this site you agree not to post any messages that are obscene, vulgar, slanderous, hateful, threatening, or that violate any laws. We will
185
+
permanently ban all users who do so.We reserve the right to remove, edit, or move any messages for any reason.</div>
186
+
</p>
187
+
188
+
<p>
189
+
<label><input type="checkbox" name="accept_terms" value="y" {if accept_terms == 'y'}checked="checked"{/if} /> I accept these terms {if error:accept_terms}{error:accept_terms}{/if}</label>
0 commit comments