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/add-ons/email.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,6 +66,12 @@ The contact form is created similar to a standard web form, only you **do not**
66
66
67
67
This allows you to set the character set of the email being sent. Use this if your form's template is using a character set other than iso-8859-1.
68
68
69
+
### `inline_errors=`
70
+
71
+
inline_errors="yes"
72
+
73
+
This parameter is for use with [form validation and error handling](/templates/form-validation.md) and determines the type of error reporting: inline or error template.
74
+
69
75
### `name=`
70
76
71
77
name="myForm"
@@ -122,6 +128,12 @@ If used with the redirect="none" parameter, the link text can be specified by ad
122
128
123
129
If the `redirect` parameter was set to value of `return`, then the user will be redirected immediately after submission of the form.
124
130
131
+
### `return_error=`
132
+
133
+
return_error="template_group/error"
134
+
135
+
This parameter is for use with [form validation and error handling](/templates/form-validation.md) and determines the template to return to if validation errors are detected.
Copy file name to clipboardExpand all lines: docs/comment/form.md
+35-22Lines changed: 35 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,28 +56,6 @@ TIP: **Tip:** Notice the variables in the "value" form fields? These allow us to
56
56
57
57
{{embed:_tips/form-attributes.md}}
58
58
59
-
#### `entry_id=`
60
-
61
-
entry_id="24"
62
-
63
-
You can hard code the comment form tag to display a comment form for a specific channel entry by its entry ID.
64
-
65
-
NOTE: **Note:** This parameter takes precedence over any entry specified dynamically in the URL, so when using this parameter you will want to make sure it is clear to the user which entry the displayed comment form belongs to.
66
-
67
-
#### `preview=`
68
-
69
-
preview="channel/preview"
70
-
71
-
This is a **required** parameter if you are using comment previews indicating which template should be used for comment previews. Like other "path" variables in ExpressionEngine you will use the Template Group/Template name. More on previewing can be found in the [Comment Previewing](#comment-previewing) section.
72
-
73
-
#### `url_title=`
74
-
75
-
url_title="my_wedding"
76
-
77
-
You can hard code the comment for tag to display a comment form for a specific channel entry by its URL title.
78
-
79
-
NOTE: **Note:** This parameter takes precedence over any entry specified dynamically in the URL, so when using this parameter you will want to make sure it is clear to the user which entry the displayed comment form belongs to.
80
-
81
59
#### `channel=`
82
60
83
61
channel="news"
@@ -88,6 +66,14 @@ If you link to your comment form page using the entry's URL Title, then you are
88
66
89
67
Because you can have the same URL Title in different channels, using this parameter will ensure that the comment submitted will be associated with the correct entry. Without this parameter, it is possible that the comment could be associated with an entry in a different channel that happens to have the same URL Title.
90
68
69
+
#### `entry_id=`
70
+
71
+
entry_id="24"
72
+
73
+
You can hard code the comment form tag to display a comment form for a specific channel entry by its entry ID.
74
+
75
+
NOTE: **Note:** This parameter takes precedence over any entry specified dynamically in the URL, so when using this parameter you will want to make sure it is clear to the user which entry the displayed comment form belongs to.
76
+
91
77
#### `form_class=`
92
78
93
79
form_class="news_comment_form"
@@ -100,6 +86,19 @@ With this parameter, you can specify the css class you want the form to have, en
100
86
101
87
With this parameter, you can specify the css id you want the form to have. The default value is 'comment_form'
102
88
89
+
90
+
#### `inline_errors=`
91
+
92
+
inline_errors="yes"
93
+
94
+
This parameter is for use with [form validation and error handling](/templates/form-validation.md) and determines the type of error reporting: inline or error template.
95
+
96
+
#### `preview=`
97
+
98
+
preview="channel/preview"
99
+
100
+
This is a **required** parameter if you are using comment previews indicating which template should be used for comment previews. Like other "path" variables in ExpressionEngine you will use the Template Group/Template name. More on previewing can be found in the [Comment Previewing](#comment-previewing) section.
101
+
103
102
#### `return=`
104
103
105
104
return="template_group/template/url_title"
@@ -111,6 +110,20 @@ This parameter allows you to define where the user will be returned after submit
111
110
112
111
If this parameter is not defined, they will be returned to the form page.
113
112
113
+
#### `return_error=`
114
+
115
+
return_error="template_group/error"
116
+
117
+
This parameter is for use with [form validation and error handling](/templates/form-validation.md) and determines the template to return to if validation errors are detected.
118
+
119
+
#### `url_title=`
120
+
121
+
url_title="my_wedding"
122
+
123
+
You can hard code the comment for tag to display a comment form for a specific channel entry by its URL title.
124
+
125
+
NOTE: **Note:** This parameter takes precedence over any entry specified dynamically in the URL, so when using this parameter you will want to make sure it is clear to the user which entry the displayed comment form belongs to.
Copy file name to clipboardExpand all lines: docs/member/edit-profile.md
+31-22Lines changed: 31 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,25 +23,38 @@ This template tag allows editing a member's profile using the form that is simil
23
23
24
24
{{embed:_tips/form-attributes.md}}
25
25
26
+
26
27
### `datepicker=`
27
28
28
-
Include the datepicker javascript. This should be set to ``yes`` if there is a date type member custom field in order to output the calendar.
29
+
datepicker="no"
29
30
30
-
datepicker="yes"
31
+
Adds the datepicker to your date fields. Defaults to "yes".
31
32
32
-
### `include_assets=`
33
+
NOTE: **Note:** If you are manually constructing a date field, in order to apply the date picker you must include `rel="date-picker"`.
33
34
34
-
include_assets="yes"
35
+
### `form_class=`
35
36
36
-
Adds the Javascript and CSS that is required by custom member fields to your form. By default, these are **not** included
37
+
form_class="login"
37
38
38
-
### `datepicker=`
39
+
This parameter allows you to specify the class attribute for the <form> tag.
39
40
40
-
datepicker="no"
41
+
### `form_id=`
41
42
42
-
Adds the datepicker to your date fields. Defaults to "yes".
43
+
form_id="login"
43
44
44
-
NOTE: **Note:** If you are manually constructing a date field, in order to apply the date picker you must include `rel="date-picker"`.
45
+
This parameter allows you to specify the id attribute for the <form> tag.
46
+
47
+
### `form_name=`
48
+
49
+
form_name="login"
50
+
51
+
This parameter allows you to specify a name attribute for the <form> tag.
52
+
53
+
### `include_assets=`
54
+
55
+
include_assets="yes"
56
+
57
+
Adds the Javascript and CSS that is required by custom member fields to your form. By default, these are **not** included
45
58
46
59
### `include_css=`
47
60
@@ -57,27 +70,23 @@ Includes jQuery automatically. Defaults to "yes".
57
70
58
71
NOTE: **Note:** If you are using your own copy of jQuery you will need to load it **before** the form.
59
72
60
-
### `return=`
61
-
62
-
return="member/registration/success"
63
-
64
-
### `form_class=`
73
+
### `inline_errors=`
65
74
66
-
form_class="login"
75
+
inline_errors="yes"
67
76
68
-
This parameter allows you to specify the class attribute for the <form> tag.
77
+
This parameter is for use with [form validation and error handling](/templates/form-validation.md) and determines the type of error reporting: inline or error template.
69
78
70
-
### `form_id=`
79
+
### `return=`
71
80
72
-
form_id="login"
81
+
return="member/registration/success"
82
+
83
+
### `return_error=`
73
84
74
-
This parameter allows you to specify the id attribute for the <form> tag.
85
+
return_error="template_group/error"
75
86
76
-
### `form_name=`
87
+
This parameter is for use with [form validation and error handling](/templates/form-validation.md) and determines the template to return to if validation errors are detected.
77
88
78
-
form_name="login"
79
89
80
-
This parameter allows you to specify a name attribute for the <form> tag.
81
90
82
91
## Form Inputs
83
92
NOTE: Be sure to include the required Javascript and CSS to use the native [Password Validation](member/password-validation.md).
Copy file name to clipboardExpand all lines: docs/member/forgot-password.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,6 +39,12 @@ Template to use for email which is sent to user.
39
39
40
40
NOTE: **Note:** If no template is defined, the default [Member Profile Template](control-panel/template-manager.md#member-profile-templates) for a forgotten password will be used.
41
41
42
+
### `inline_errors=`
43
+
44
+
inline_errors="yes"
45
+
46
+
This parameter is for use with [form validation and error handling](/templates/form-validation.md) and determines the type of error reporting: inline or error template.
47
+
42
48
### `password_reset_url=`
43
49
44
50
password_reset_url="member/reset-password"
@@ -57,6 +63,12 @@ This parameter allows you to define where the user will be returned after succes
57
63
1. Use the standard Template_Group/Template syntax to specify where to return the user. For instance, if you want the user to be returned to the "local" Template in the "news" Template Group, you would use: return="member/forgot-password/sent"
58
64
2. Use a full URL. For example: return="<https://example.com/member/forgot-password/sent.html>"
59
65
66
+
### `return_error=`
67
+
68
+
return_error="template_group/error"
69
+
70
+
This parameter is for use with [form validation and error handling](/templates/form-validation.md) and determines the template to return to if validation errors are detected.
71
+
60
72
61
73
## Form Inputs
62
74
NOTE: Be sure to include the required Javascript and CSS to use the native [Password Validation](member/password-validation.md).
Copy file name to clipboardExpand all lines: docs/member/forgot-username.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,12 @@ Template to use for email which is sent to user.
43
43
44
44
If no template is defined or if the template defined does not exist, the default [Member Profile Template](control-panel/template-manager.md#member-profile-templates) for a forgotten username will be used.
45
45
46
+
### `inline_errors=`
47
+
48
+
inline_errors="yes"
49
+
50
+
This parameter is for use with [form validation and error handling](/templates/form-validation.md) and determines the type of error reporting: inline or error template.
51
+
46
52
### `return=`
47
53
48
54
return="member/login/forgot-username"
@@ -52,6 +58,12 @@ This parameter allows you to define where the user will be returned after succes
52
58
1. Use the standard Template_Group/Template syntax to specify where to return the user. For instance, if you want the user to be returned to the "local" Template in the "news" Template Group, you would use: return="member/login/forgot-username"
53
59
2. Use a full URL. For example: return="<https://example.com/member/login/forgot-username.html>"
54
60
61
+
### `return_error=`
62
+
63
+
return_error="template_group/error"
64
+
65
+
This parameter is for use with [form validation and error handling](/templates/form-validation.md) and determines the template to return to if validation errors are detected.
Copy file name to clipboardExpand all lines: docs/member/login.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,6 +56,13 @@ This parameter allows you to specify the id attribute for the <form> tag.
56
56
57
57
This parameter allows you to specify a name attribute for the <form> tag.
58
58
59
+
### `inline_errors=`
60
+
61
+
inline_errors="yes"
62
+
63
+
This parameter is for use with [form validation and error handling](/templates/form-validation.md) and determines the type of error reporting: inline or error template.
64
+
65
+
59
66
### `return=`
60
67
61
68
return="site/index"
@@ -65,7 +72,11 @@ This parameter allows you to define where the user will be returned after succes
65
72
1. Use the standard Template_Group/Template syntax to specify where to return the user. For instance, if you want the user to be returned to the "local" Template in the "news" Template Group, you would use: return="news/local"
66
73
2. Use a full URL. For example: return="<https://example.com/return.html>"
67
74
75
+
### `return_error=`
76
+
77
+
return_error="template_group/error"
68
78
79
+
This parameter is for use with [form validation and error handling](/templates/form-validation.md) and determines the template to return to if validation errors are detected.
Copy file name to clipboardExpand all lines: docs/member/memberlist.md
+47-34Lines changed: 47 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,13 +21,42 @@ Outputs a searchable list of members, including form filters to sort and limit t
21
21
22
22
{{embed:_tips/form-attributes.md}}
23
23
24
-
### `role_id=`
24
+
### `backspace=`
25
25
26
-
role_id="5"
26
+
backspace="3"
27
27
28
-
Restrict the output to members that belong to certain [role](control-panel/member-manager.md#member-roles).
28
+
The `backspace=` parameter will remove the specified number of characters, including spaces and line breaks, from the last iteration of the tag pair.
29
+
30
+
### `error_handling="inline"`
31
+
error_handling="inline"
32
+
33
+
This parameter allows you to use inline errors in your registration form. The errors can be displayed using the `{error:field_name}` tag where `field_name` would need to be replaced with the name of the field that has an error, as used to compose the form.
34
+
35
+
### `form_class=`
36
+
37
+
form_class="login"
38
+
39
+
This parameter allows you to specify the class attribute for the search <form> tag.
40
+
41
+
### `form_id=`
42
+
43
+
form_id="login"
44
+
45
+
This parameter allows you to specify the id attribute for the search <form> tag.
46
+
47
+
### `form_name=`
48
+
49
+
form_name="login"
50
+
51
+
This parameter allows you to specify a name attribute for the search <form> tag.
52
+
53
+
### `limit=`
54
+
55
+
limit="30"
56
+
57
+
Allows you to limit the number of members displayed.
58
+
When not set, defaults to [Member List - Rows](control-panel/settings/members.md#total-results) setting or [`memberlist_row_limit` configuration override](general/system-configuration-overrides.md#memberlist_row_limit)
29
59
30
-
NOTE: This parameter replaces `group_id` which is functionally identical and currently still supported.
31
60
32
61
### `orderby=`
33
62
@@ -49,6 +78,15 @@ The "orderby" parameter sets the display order of members. The possible options
49
78
When not set, defaults to [Member List - Order](control-panel/settings/members.md#order-by)
50
79
setting or [`memberlist_order_by` configuration override](general/system-configuration-overrides.md#memberlist_order_by)
51
80
81
+
### `role_id=`
82
+
83
+
role_id="5"
84
+
85
+
Restrict the output to members that belong to certain [role](control-panel/member-manager.md#member-roles).
86
+
87
+
NOTE: This parameter replaces `group_id` which is functionally identical and currently still supported.
88
+
89
+
52
90
### `sort=`
53
91
54
92
sort="asc"
@@ -57,41 +95,16 @@ setting or [`memberlist_order_by` configuration override](general/system-configu
57
95
Set the order in which members are displayed.
58
96
When not set, defaults to [Member List - Sort By](control-panel/settings/members.md#sort-by) setting or [`memberlist_sort_order` configuration override](general/system-configuration-overrides.md#memberlist_sort_order)
59
97
60
-
### `limit=`
61
-
62
-
limit="30"
63
-
64
-
Allows you to limit the number of members displayed.
65
-
When not set, defaults to [Member List - Rows](control-panel/settings/members.md#total-results) setting or [`memberlist_row_limit` configuration override](general/system-configuration-overrides.md#memberlist_row_limit)
66
-
67
98
### `return=`
68
99
69
100
return="member/memberlist"
101
+
102
+
### `return_error=`
70
103
71
-
### `form_class=`
72
-
73
-
form_class="login"
74
-
75
-
This parameter allows you to specify the class attribute for the search <form> tag.
76
-
77
-
### `form_id=`
78
-
79
-
form_id="login"
80
-
81
-
This parameter allows you to specify the id attribute for the search <form> tag.
82
-
83
-
### `form_name=`
84
-
85
-
form_name="login"
86
-
87
-
This parameter allows you to specify a name attribute for the search <form> tag.
88
-
89
-
### `backspace=`
90
-
91
-
backspace="3"
92
-
93
-
The `backspace=` parameter will remove the specified number of characters, including spaces and line breaks, from the last iteration of the tag pair.
104
+
return_error="template_group/error"
94
105
106
+
This parameter is for use with [form validation and error handling](/templates/form-validation.md) and determines the template to return to if validation errors are detected.
0 commit comments