Loading...
 
Features / Usability

Features / Usability


CustomSearch landing url pre-filled with search criteria

posts: 126886 United Kingdom

Hi Bernard again

As it would happen i had to fix a client's search page with radio buttons on, so i experimented with the id's and found this worked (for example)

In the form template
Copy to clipboard
articles: {input _filter="content" type="radio" _field="tracker_id" _value="11" _group="type" id="type_article"} organizations: {input _filter="content" type="radio" _field="tracker_id" _value="1" _group="type" id="type_org"} events: {input _filter="content" type="radio" _field="tracker_id" _value="6" _group="type" id="type_event"}


So the url for events would be /search#type_event=1

HTH mrgreen

There are no comments at this time.