Comments on: Adding a dynamic select list to Contact Form 7 https://www.leewillis.co.uk/dynamic-select-list-contact-form-7/ Tue, 03 Sep 2019 07:57:54 +0000 hourly 1 https://wordpress.org/?v=6.7.1 By: Matt https://www.leewillis.co.uk/dynamic-select-list-contact-form-7/#comment-932908 Tue, 03 Sep 2019 07:57:54 +0000 http://www.leewillis.co.uk/?p=467#comment-932908 Hi,

I have a WooCommerce store that appears in catalogue mode which means customers fill out a form instead of clicking an ‘Add to Cart’ button.

The products sold are courses which have multiple dates. I have a form which sent a hidden field of the page title so I know which course the form sender is sending an application from but can I add a radio button list with each date on and use cf7 to dynamically use that radio form info to populate a dropdown so that every course can show its dates as selections for the form user?

]]>
By: Manasa https://www.leewillis.co.uk/dynamic-select-list-contact-form-7/#comment-932902 Mon, 24 Jun 2019 06:06:56 +0000 http://www.leewillis.co.uk/?p=467#comment-932902 Can i get the code to make three checkboxes dependent to each other such that selecting one changes the options for the others
Thanks!

]]>
By: Björn https://www.leewillis.co.uk/dynamic-select-list-contact-form-7/#comment-932896 Sun, 31 Mar 2019 10:39:21 +0000 http://www.leewillis.co.uk/?p=467#comment-932896 Hi,

works as expected. But is there any way to preselect a item in this function?

Thanks in advance!

]]>
By: Fishymix https://www.leewillis.co.uk/dynamic-select-list-contact-form-7/#comment-932866 Thu, 01 Jun 2017 18:58:52 +0000 http://www.leewillis.co.uk/?p=467#comment-932866 How would I go about making it URL dynamic?

So that http://www.domain.com/contact-us/?country=UK pre selects “UK” from the dropdown box?

Thanks

]]>
By: 6th Sense Marketing https://www.leewillis.co.uk/dynamic-select-list-contact-form-7/#comment-932858 Thu, 12 Jan 2017 09:54:01 +0000 http://www.leewillis.co.uk/?p=467#comment-932858 Just awesome! applause please 🙂 with the changelog to remove the “pipes” line 😉

]]>
By: sara https://www.leewillis.co.uk/dynamic-select-list-contact-form-7/#comment-932852 Thu, 10 Nov 2016 12:52:37 +0000 http://www.leewillis.co.uk/?p=467#comment-932852 please can anyone help me

i want to add a condition to the drop down menu
that if user choose a choice a text erea appears only if check a “Autre ” in the drop down meny

please i’m beginner , can anyone help me with that

]]>
By: Loic https://www.leewillis.co.uk/dynamic-select-list-contact-form-7/#comment-932844 Mon, 22 Aug 2016 10:14:46 +0000 http://www.leewillis.co.uk/?p=467#comment-932844 Hello,
I don’t understand what $tag[‘raw_values’][] stands for?

I’m trying to get post ID in the value of the dropdown but still have post title in the email content.

]]>
By: Benoit https://www.leewillis.co.uk/dynamic-select-list-contact-form-7/#comment-932843 Wed, 10 Aug 2016 08:42:59 +0000 http://www.leewillis.co.uk/?p=467#comment-932843 Nice done @Lee.
Work for me.

It is possible to add an empty option at the beginnig of the select list ?

Thanks for your answer.

]]>
By: Alvaro https://www.leewillis.co.uk/dynamic-select-list-contact-form-7/#comment-929697 Sat, 13 Sep 2014 02:26:11 +0000 http://www.leewillis.co.uk/?p=467#comment-929697 In reply to Jip Spinnewijn.

Hi, is great. Could you please post the whole snippet, including the function name, parameters (if any) and the function call at the end? I´m trying to use your code but my php skills are limited. Thanks a lot!

]]>
By: Matt Ross https://www.leewillis.co.uk/dynamic-select-list-contact-form-7/#comment-926389 Mon, 25 Aug 2014 22:52:46 +0000 http://www.leewillis.co.uk/?p=467#comment-926389 I was attempting to get pipes working in a set of options built in the filter. I started off here, but found the same issue about [code]$tag[‘pipes’]->pipes[] = array ( ‘before’ => $plugin->post_title, ‘after’ => $plugin->post_title);[/code] not being valid any longer.

Should you or anyone run into this same requirement and get stuck. I put together a couple sentences with examples: http://www.mattross.io/2014/08/25/programmatic-selectable-recipients-with-pipes-in-wpcf7/

Thanks for the jump start!

]]>