1. line49
  2. Support
  3. Friday, October 31 2014, 01:32 AM
Hi,

We have setup a Search page, but when you first go to the search page, we would like to have the dropdown search boxes have a default value selected. Is there a way to do this?

For example we have a Language drop down and would like English to be preselected when you first visit the page. Then the user can change the selection to change the search results.

I set the default value in the select field for Language, but it doesn't seem to use the default value on the search page.

Thank you
References
  1. http://www.2014.xeva.ca/brokers
admin Accepted Answer
Admin
Hi,
you can create a hidden menu item for search, and create a visible menu item of type External URL with this URL:
/brokers?language[]=English


default value is set by URL

NOTE:
we have added [] on field alias because language field can have multiple value,so you must pass this as Array
  1. more than a month ago
  2. Support
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.