Skip Navigation

[Resolved] Integrating view query filter results into Contact Form 7 dynamic select field

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

Problem:

Customize the result of other [dynamicselect] from other plugin.

Solution:

I don't think it is possible within Toolset plugins, and it is out the range of Toolset support, I suggest you check it with "Contact Form 7" support, check if there is any filter hook for it, then you can use this filter hook to add your custom query.

Relevant Documentation:

This support ticket is created 4 years, 3 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by chrisF-16 4 years, 3 months ago.

Assisted by: Luo Yang.

Author
Posts
#1833733

Tell us what you are trying to do? We have a view to display a list of doctors that are accepting patients, but we've recently changed the way this view is created. With the new changes, I'm not sure how to integrate the list of doctors accepting patients into our contact form dynamic select field as we had it before.

Here is the link to the page on our dev site: hidden link

We'd like to have a dropdown in the Patient Registration Form that displays the list of doctors accepting patients.

Is there any documentation that you are following?

Is there a similar example that we can see? This is how the dynamic select field is working on the current site (the current site is using our old view setup): hidden link

If you scroll down to the Patient Registration Form, you'll see a dropdown for Select Doctor.

The form tag used on the current dropdown is:

[dynamicselect select-doctor "conjure-posts-dynamically post_type=doctor posts_per_page=-1 orderby=title order=asc meta_key=doctor-location-accepting"]

What is the link to your site? hidden link

#1834191

Hello,

How do you create the shortcode [dynamicselect]? is it from other plugin(Contact Form 7)?
If it is, I don't think it is possible within Toolset plugins, and it is out the range of Toolset support, I suggest you check it with "Contact Form 7" support, check if there is any filter hook for it, then you can use this filter hook to add your custom query.

#1834537

It is created from Contact Form 7, I'll check with them. Thanks Luo!