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/pro-search/tags.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,11 +43,15 @@ Set to no to have a given query overwrite a valid shortcut. Defaults to yes (a s
43
43
44
44
#### form_attribute
45
45
46
-
Specifies any html attribute you want the form to have. For example: form_id="search" will add id="search"to the
46
+
Specifies any html attribute you want the form to have. For example: form_id="search" will add id="search", or form_class="searchform" will add class="searchform" to the tag.
47
47
48
-
tag. query Use this parameter to pass through a previously executed encoded search query. Not needed when not encoding queries.
Use this parameter to pass through a previously executed encoded search query. Not needed when [not encoding queries](https://docs.expressionengine.com/latest/add-ons/pro-search/settings.html#encode-query).
53
+
54
+
{exp:pro_search:form query="{segment_3}"}
51
55
52
56
#### required
53
57
@@ -667,4 +671,4 @@ Alternative syntax for the native {if no_results}{/if} conditional.
0 commit comments