I am trying to: Display results from dropdown.
Link to a page where the issue can be seen: thecrossing.net/christmas
I expected to see: Display no results until selection is made
Instead, I got: Displaying all results with no selection made.
This view is an exact copy of the view used on thecrossing.net/easter, with it updated to pull the new information. However, I am seeing this issue only with the new loop.
Page Password: OneCrossing
Hi,
Thank you for contacting us and I'd be happy to assist.
To show the view's results, only when a value in the relationship filter has been selected, you can wrap the inner content of the view's loop ( i.e. <wpv-loop> ... </wpv-loop> ), in a condition like this:
( ref: https://toolset.com/documentation/legacy-features/views-plugin/using-shortcodes-in-conditions/ )
<wpv-loop>
[wpv-conditional if="( '[wpv-search-term param='wpv-relationship-filter']' ne '' )"]
......
[/wpv-conditional]
</wpv-loop>
I hope this helps and please let me know if you need any further assistance around this.
regards,
Waqar
How can I just have the first result from the dropdown selected as the default? I have tried several jQuery, including https://toolset.com/forums/topic/how-to-prefill-default-value-in-dropdown-box/ but have not been successful.
Thanks for writing back.
Can you please share temporary admin login details, along with the link to the page where you'd like to select the first option, by default?
I'll be in a better position to guide you with the next steps accordingly.
Note: Your next reply will be private and it is recommended to make a complete backup copy, before sharing the access details.