Forums › Forums › Search & Filter Pro › How to style the search data
- This topic has 29 replies, 2 voices, and was last updated 8 years, 8 months ago by Anonymous.
-
Anonymous(Private) April 26, 2016 at 11:58 am #43933
Hi trevor,
Sorry, hopefully a quick question:
How do I change the search data being shown from the taxonomy slug to the taxonomy name?
For instance, it is currently showing “2000-pw” but this is the slug for the term “£2000pw”.
I assume this is just changing “[value]” but I don’t know what to.
Thanks
Trevor(Private) April 26, 2016 at 4:44 pm #43980Hi. So, using javascript, this is how reset a field value (for example the length):
jQuery(".sf-field-taxonomy-length .sf-input-select").val("");
I think this is correct. I am sure if Ross sees this, he will let us know if it isn’t.
and then to submit the form:
jQuery("#search-filter-form-339").submit();
-
AuthorPosts