Skip Navigation

[Cerrado] User defined queries based on multiple form values

This support ticket is created hace 10 años, 10 meses. 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

This topic contains 1 respuesta, has 2 mensajes.

Last updated by bruce hace 10 años, 10 meses.

Assigned support staff: bruce.

Autor
Mensajes
#8175

I want to have several form fields for visitors to build their own queries, for instance:
Area - (dropdown menu with values)
Bedrooms - (Dropdown menu with values)
Pets Allowed - (checkbox)
etc.
Once the user defines their advanced search they would hit a submit button and it would query the db based on their form selections.
Is this possible with the types and views plugin?
What is the best way to approach that?

#8176

bruce
This answer solved user's issue.

Hi Brent,

Views doesn't have this feature built in. If you can create your own form you should be able to do this for yourself.

When you add a filter for custom fields you can choose to filter by url parameter. So if your form submits to a url something like:
hidden link
you can then create a View that uses the URL parameters.

Best regards,
Bruce.

El debate ‘[Cerrado] User defined queries based on multiple form values’ está cerrado y no admite más respuestas.