Skip Navigation

[Resolved] We need a tutorial on how to create dependant fields in search form

This thread is resolved. Here is a description of the problem and solution.

Problem: How do we create dependent search fields in a form, like in the Real Estate demo site?

Solution: Follow the instructions in our user guide.

Relevant Documentation: https://toolset.com/documentation/user-guides/front-page-filters/advanced-settings-custom-search/

This support ticket is created 6 years, 10 months 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Author
Posts
#537231

Hi Christian we created both the search page and the search results page but after selecting some parameters in the search it does not goes to the search serults page.
If we give you an access to the website would you please have a look at what we did and see what's wrong?
The site is experiencing some dalay due to memory limit (this happena only when we create/edit a page woth the Toolset layout) anyway after some minutes the site becomes available again.
If you activate a private session of this chat we can send you teh parameters.

Thanks,

Franco

#537267

Hi Christian, sorry to bother you but since you said that you will not be tomorrow at the office we really need to solve the problem of the search form and the resusts on a new page.
Is it possible for you to have a look at what we did and let us know what is wrong?
The fields are placed in the form, the target ID of the results page is there but when we click the button of sending the form, nothing happens.
Thanks

Franco

#537297

Sorry for the duplicate post. Private reply fields are enabled here for login credentials.

#537311

Hi Christian,
it seems working now...

fingers crossed 🙂

Franco

#537328

That's great, I'm so glad you were able to get this ready before your client presentation.

We are experiencing those down performances of the site as soon as we installed Toolset. Is there any reason of that?
This is something you may want to discuss with your site's hosting provider. Toolset has a minimum memory requirement of 128M of RAM, but 256M is even better. You can try to add the following code to your wp-config.php file, just before it says "Stop editing here":

define( 'WP_MEMORY_LIMIT', '256M' );
define( 'WP_MAX_MEMORY_LIMIT', '256M' );

However, sometimes this setting is overridden by your hosting provider's own settings. If this code doesn't appear to help, I recommend reaching out to your host to see what they can do about increasing the amount of memory available for PHP. More information about memory and WP:
https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

Toolset minimum requirements:
https://toolset.com/toolset-requirements/

#538467
select.jpg

Hi Christian, the issue with the custom search is resolved but there is another problem:
we used a JS + CSS to customize the select boxes of a custom search but when we select an option that has a dependant select, the page refreshes to show the opdated subselect but hides all select boxes, we think that the page re-initialize the script and hides the content of the styles of formatted selects. If there is no solution of that, do you know any way to get a customized select as you see in our screenshot?

#538667

We try to address one problem per ticket here in the forum, and this looks like a separate issue that I won't be able to address in one or two sentences. May I kindly ask you to open a new ticket for this issue? When you create the ticket, make sure you include information about which custom select JS plugin you are using, and a link to their documentation. Then include a URL and specific steps to reproduce the problem on your site.

#538690

Hi Christian, in the meantime we resolved the issue by adding a custom script and additional CSS.
Thanks for your great support.
Best,

Franco

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.