Submit button name and value being passed through to URL on search
When I run a search the name and value of my submit button is being passed through to the search URL.
Here is my form markup:
{exp:low_search:form result_page="search" form_id="desktop-search" required="keywords"}
Search:
{/exp:low_search:form}
For example: i search for 'media' and the result page URL comes out as http://emc.dev/search?keywords=media&...
I am running Low Search v3.1.5 with the patch for the {page_url} issue that you gave me last week.
Thanks
Replies
Low 11 Jun 2014 12:28
A submit button is just an input field, like any other form field. If you don't add a name="" attribute to it, it won't be submitted along with the other fields.
Joe Beaver 11 Jun 2014 12:32
Perfect, thanks for that!