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
TIP: **Tip:** This form utilizes template [form validation and error handling](/templates/form-validation.md). Refer to the documentation for additional parameters and variables that are available to this tag.
Copy file name to clipboardExpand all lines: docs/add-ons/email.md
+15-1Lines changed: 15 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,8 @@ The contact form is created similar to a standard web form, only you **do not**
52
52
</p>
53
53
{/exp:email:contact_form}
54
54
55
+
{{embed:_tips/form-validation.md}}
56
+
55
57
## Parameters
56
58
57
59
[TOC=3]
@@ -64,6 +66,12 @@ The contact form is created similar to a standard web form, only you **do not**
64
66
65
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.
66
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
+
67
75
### `name=`
68
76
69
77
name="myForm"
@@ -120,6 +128,12 @@ If used with the redirect="none" parameter, the link text can be specified by ad
120
128
121
129
If the `redirect` parameter was set to value of `return`, then the user will be redirected immediately after submission of the form.
122
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.
136
+
123
137
### `preview=`
124
138
125
139
preview="about/contact-preview"
@@ -330,7 +344,7 @@ In the above example, the Template "friend" contains the Tell-a-Friend form.
330
344
[TOC=3]
331
345
332
346
### `allow_attachments=`
333
-
347
+
334
348
allow_attachments="yes"
335
349
336
350
This allows you to add a file input field to your form, make sure to give your file input field the name of `attachment`. Adding this parameter automatically gives the form the `enctype='multipart/form-data'` attribute.
Copy file name to clipboardExpand all lines: docs/add-ons/pro-search/examples.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -280,7 +280,7 @@ Below is a list of radio buttons, one for each letter of the alphabet. Selecting
280
280
281
281
Below is a list of checkboxes based on a custom channel field of the Checkboxes type. You can select multiple options from this list. Entries will be shown that have any of the selected options checked. Uses [Low Options](https://github.com/EEHarbor/low_options) to generate field options.
282
282
283
-
Adding `contains_words="parameter_name"` to the Results tag will ensure that the selected items are not contained within other words, like appending `\W` to the values.
283
+
Adding `contains_words="parameter_name"` to the Results tag will ensure that the selected items are not contained within other words, like appending `\W` to the values.
284
284
285
285
{exp:pro_search:form query="{segment_3}"}
286
286
{exp:low_options:service_options}
@@ -503,7 +503,7 @@ Below are two lists of tags. You can select multiple tags per list. Entries that
503
503
504
504
## Other & Native
505
505
506
-
In addition to what all the [filters](/add-ons/pro-search/filters.md) bring to the party, you can also filter by native ExpressionEngine parameters, as well as some [little extras](/add-ons/pro-search/tags.md#results-tag).
506
+
In addition to what all the [filters](/add-ons/pro-search/filters.md) bring to the party, you can also filter by native ExpressionEngine parameters, as well as some [little extras](/add-ons/pro-search/tags.md#exppro_searchresults).
Copy file name to clipboardExpand all lines: docs/add-ons/pro-search/filters.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,7 +95,7 @@ The automatic `keywords:mode` uses operators in keywords for any/all/exact match
95
95
96
96
### Singulars & Plurals
97
97
98
-
Pro Search supports singular and plural matching of keywords [inflections](http://en.wikipedia.org/wiki/Inflection). To enable this, both the `keywords:inflect` and the `keywords:lang` parameters must be set. Pro Search supports English inflections natively and you can add support for other languages by adding inflection rules to your [Config file](/general/system_configuration_overrides.md):
98
+
Pro Search supports singular and plural matching of keywords [inflections](http://en.wikipedia.org/wiki/Inflection). To enable this, both the `keywords:inflect` and the `keywords:lang` parameters must be set. Pro Search supports English inflections natively and you can add support for other languages by adding inflection rules to your [Config file](/general/system-configuration-overrides.md):
Pro Search supports matching of keywords by their stem [stemming](http://en.wikipedia.org/wiki/Stemming). To enable this, both the `keywords:stem` and the `keywords:lang` parameters must be set. English stemming is supported natively, using a [Porter stemmer](http://tartarus.org/martin/PorterStemmer/) class, and you can add support for other languages by adding this to your [Config file](/general/system_configuration_overrides.md):
113
+
Pro Search supports matching of keywords by their stem [stemming](http://en.wikipedia.org/wiki/Stemming). To enable this, both the `keywords:stem` and the `keywords:lang` parameters must be set. English stemming is supported natively, using a [Porter stemmer](http://tartarus.org/martin/PorterStemmer/) class, and you can add support for other languages by adding this to your [Config file](/general/system-configuration-overrides.md):
114
114
115
115
```
116
116
$config['pro_search_stemmers'][lang] = array(
@@ -154,7 +154,7 @@ You can use the Distance filter to limit results by a given maximum distance. Th
154
154
NOTE: **Note:** Use two separate fields instead of a single one for better performance.
155
155
156
156
### Variables
157
-
The Distance filter also makes this variable available in the [Results tag](/add-ons/pro-search/tags#results-tag):
157
+
The Distance filter also makes this variable available in the [Results tag](/add-ons/pro-search/tags.md#exppro_searchresults):
158
158
159
159
#### `{pro_search_distance}`
160
160
The calculated distance in the given unit for this entry.
@@ -163,7 +163,7 @@ NOTE: **Note:** Using the Distance filter will return the search results ordered
163
163
164
164
## Field Search
165
165
166
-
You can use the native `search:field_name` parameter to target specific fields. Additionally, Pro Search can target the entry’s ***title***, ***url_title***, ***status***, target [Grid](/fieldtypes/grid.md) columns, use multiple values for [numeric matching](/channel/channel_entries.md#numeric-matching) (in combination with the `gt`, `gte`, `lt` and `lte` params), and use ***starts / ends with*** matching.
166
+
You can use the native `search:field_name` parameter to target specific fields. Additionally, Pro Search can target the entry’s ***title***, ***url_title***, ***status***, target [Grid](/fieldtypes/grid.md) columns, use multiple values for [numeric matching](/channels/entries.md#numeric-matching) (in combination with the `gt`, `gte`, `lt` and `lte` params), and use ***starts / ends with*** matching.
Copy file name to clipboardExpand all lines: docs/add-ons/pro-search/tags.md
+17-16Lines changed: 17 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,18 +10,19 @@
10
10
11
11
[TOC]
12
12
13
-
**These terms are used throughout the documentation:**
13
+
**These terms are used throughout the documentation:**
14
14
```
15
-
required: This parameter/field is required for this tag to function.
16
-
form only: This can only be set as a field in the form and not as a parameter in the tag.
17
-
param only: This parameter can only be set in the tag and not as a field in the form.
18
-
fixed value: This field cannot be edited and is set with a fixed value.
19
-
recurring only: This parameter/field only applies to recurring charges.
20
-
one-time only: This parameter/field only applies to one-time charges.
21
-
added in X.X.X: This parameter/field is only available from this version forward.
22
-
logged in: This tag is only available if the user is logged in.
15
+
required: This parameter/field is required for this tag to function.
16
+
form only: This can only be set as a field in the form and not as a parameter in the tag.
17
+
param only: This parameter can only be set in the tag and not as a field in the form.
18
+
fixed value: This field cannot be edited and is set with a fixed value.
19
+
recurring only: This parameter/field only applies to recurring charges.
20
+
one-time only: This parameter/field only applies to one-time charges.
21
+
added in X.X.X: This parameter/field is only available from this version forward.
22
+
logged in: This tag is only available if the user is logged in.
23
23
```
24
24
25
+
NOTE: **Note:** See the [template generator](templates/generators.md) for the keyword search in ExpressionEngine 7.5+. Pro Search must be installed and a Collection created.
25
26
26
27
## {exp:pro_search:form}
27
28
@@ -156,7 +157,7 @@ Short syntax for the URL tag. When used, it will automatically inherit the query
156
157
## {exp:pro_search:filters}
157
158
158
159
The Filters tag works identically to the Form tag, without generating a search form. Use it to show specific search filters anywhere on your page, or to create a list of URL tags in short syntax. The following example shows a list of one-click filters based on the current search that could be used to modify the results display with javascript:
@@ -402,7 +403,7 @@ Group ID the shortcut needs to be saved to. **Required**.
402
403
<button type="submit">Save</button>
403
404
</fieldset>
404
405
{/exp:pro_search:save}
405
-
406
+
406
407
#### `form_attribute=`
407
408
408
409
Specifies any html attribute you want the form to have. For example: `form_id="search"` will add `id="search"` to the form tag, while `form_class="searchform"` will add `class="searchform"` to the tag.
@@ -437,7 +438,7 @@ The encoded search query to inherit. Not needed when [not encoding queries](http
437
438
438
439
#### `reset=`
439
440
440
-
Set to "yes" to stop this tag from inheriting the current query.
441
+
Set to "yes" to stop this tag from inheriting the current query.
441
442
442
443
{exp:pro_search:url reset="yes"}
443
444
@@ -464,7 +465,7 @@ Use this single tag to output a single given parameter value outside of the Form
464
465
{exp:pro_search:param get="item_size"}
465
466
466
467
You can also use it as a paired loop to output multi-valued parameters.
@@ -500,7 +501,7 @@ Use this tag to display a list of popular keywords. The Search Log must be enabl
500
501
#### `limit=`
501
502
502
503
Maximum number of keywords to display. Defaults to 10.
503
-
504
+
504
505
{exp:pro_search:popular limit="10"}
505
506
{if count == 1}<ul>{/if}
506
507
<li>{keywords}: {search_count}</li>
@@ -624,7 +625,7 @@ Maximum number of suggestions to return. Defaults to 5.
624
625
The method used for getting the suggestions, either `levenshtein` or `soundex`. Defaults to Levenshtein.
625
626
626
627
{exp:pro_search:suggestions method="soundex"}
627
-
628
+
628
629
NOTE: **Note:** Using Soundex for generating suggestions is only effective for languages with a latin-based alphabet. The Levenshtein method works regardless of alphabet type.
Copy file name to clipboardExpand all lines: docs/add-ons/structure/overview.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,4 +13,6 @@ Structure is a powerful add-on that lets you create pages, generate navigation,
13
13
14
14
It forgoes the default template_group/template setup and creates “static” and “listing” pages that are all editable through a tree sitemap view. With Structure enabled, traditional page style content and multiple entry pages can live within the same area.
15
15
16
+
Structure provides a [Template Generator](templates/generators.md) that demonstrates how to integrate Structure template tags with your site.
17
+
16
18
NOTE:**Note:** Documentation for Structure is still being migrated. Until this is complete, please reference the [Structure documentation on EEHarbor's website](https://eeharbor.com/structure/documentation).
Copy file name to clipboardExpand all lines: docs/channels/channel-form/overview.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,8 @@ The Channel Form makes it possible to add and edit channel entries from outside
26
26
27
27
## Basic Usage
28
28
29
-
TIP: Please visit the [Examples](channels/channel-form/examples.md) page to see a variety of implementations.
29
+
TIP: You can view the [Examples](channels/channel-form/examples.md) page to see a variety of implementations.
30
+
The Channel Form [Template Generator](templates/generators.md) can also help create a functional template that demonstrates the parameters and variables documented below.
30
31
31
32
The first thing you will need is a `{exp:channel:form}` tag pair, along with a few [parameters](#parameters) to determine where to submit the entry:
0 commit comments