Skip Navigation

[Resolved] Only see results after submit button is clicked

This support ticket is created 4 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 11 replies, has 2 voices.

Last updated by beverlyS-2 4 years ago.

Assisted by: Shane.

Author
Posts
#2263799

I have reviewed several other similar threads and still cannot figure out how to only see results after the submit button is clicked.

Here is a website that has a set-up like I would like. The filter options on the home page and then those same filter options in sidebar/widget.

hidden link

hidden link

I have a development website set up and can privately provide the credentials for you to see it/log-in.

#2263831

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Beverly,

Thank you for getting in touch.

Are you using the classic editor to create your view or are you using the block builder.

If you're using the classic editor then you can use the method below.
https://toolset.com/forums/topic/how-to-force-blank-search-to-return-no-results/#post-1634461

If not then you will need wrap your search results in a conditional block and recreate the exact same condition from the link above in your conditional block GUI so that the results can be hidden before the search is performed.

Please let me know if further clarification is needed.

Thanks,
Shane

#2263917

I'm using the block builder. And, sorry, but I have no idea how to do what you are saying to do.

#2263951

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Beverly,

Would you mind allowing me to have admin access to the website so that I can have a more detailed look at this for you ?

Please where applicable please provide me with a link to an example page where I can see the view.

I've enabled the private fields for your next response.

Thanks,
Shane

#2264061

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Beverly,

This should now be working.

Please go ahead and check on the search and let me know if everything is ok now.

Thanks,
Shane

#2264063

Perfect! If I go into the editor for that page, will I be able to see what you did?

#2264075

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Beverly,

Yes you'll be able to see it. All I did as to create a conditional block and then add the view loop inside that conditional block. Then setup the conditional to only show its content when it detects the wpv_view_count parameter in the url.
Thanks
Shane

#2264077

Ok. I see it but I'm not sure I could replicate it if I needed to, however. Is there documentation that you can link me in case I need to repeat this again?

Thank you!

UPDATE: I totally messed up the home page. I don't know how to fix it. I tried to go back to the last version you worked on. I think this tool may be too advanced for me.

#2264115

Ok. I got the home page restored. Sorry for the alarm.

#2264691

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Beverly,

Ok. I see it but I'm not sure I could replicate it if I needed to, however. Is there documentation that you can link me in case I need to repeat this again?

Unfortunately there isn't a specific documentation that would guide you through this method, however the documentation below should be able to assist you with setting up a page that shows only the search bar and allow you to have a separate results page.
https://toolset.com/course-lesson/displaying-search-results-on-a-different-page/

With this you can achieve a similar result but with the results being on a completely separate page.

Thanks,
Shane

#2265683

Ok. I did see that documentation but it isn't what I need. I hope in the future you can develop documentation for this as it seems to be asked for from time to time.

Thank you for all your help.

#2265685

My issue is resolved now. Thank you!