[select* topic include_blank "Test1|[email protected]" "Test2|[email protected]" "Test3|[email protected]"]
[group group_topic_test1 clear_on_hide]
[select* topic_test1 include_blank "AMG" "PRG" "KGL"]
[/group]
[group group_topic_test2 clear_on_hide]
[select* topic_test2 include_blank "ORG" "COB" "MNM"]
[/group]
[group group_topic_test3 clear_on_hide]
[select* topic_test3 include_blank "IRS" "LOM" "NJH"]
[/group]
When the first topic is selected, I get the first group of dropdown displayed and so on. This is all working fine.
However in the functions.php file, the submitted data $data = $submission->get_posted_data()
is not returning the data from the group fields:
function action_wpcf7_before_send_mail_test( $contact_form ) {
$form_id = $contact_form->id();
if ($form_id == "234") {
$submission = WPCF7_Submission::get_instance();
if ($submission) {
$data = $submission->get_posted_data();
}
}
.........
.........
.........
.........
}
It returns the selected ‘topic’ but not the group data:
$data: Array
(
[topic_test1] => Array
(
[0] =>
)
[topic_test2] => Array
(
[0] => Test2
)
[topic_test3] => Array
(
[0] =>
)
)
Am I missing something?
]]>If you notice any problems with your forms, please roll back to Contact Form 7?version 5.8.5.
my current Version of contact form is 5.8.6?
is this a serious problem?
]]>Ale
]]>
https://conditional-fields-cf7.bdwm.be/form-tester/?hash=a68682f009d9abb403dd3ffc73f63b57
Can you please check this and correct me? I need to get the chosen group value only.
Thanks in advance.
Malar
[head_office_selected]
Reply-To: [email protected]
[/head_office_selected]
[europe_selected]
Reply-To: [email protected]
[/europe_selected]
Is there another way to do this?
]]>Tried it with the following rule:
Show if your-email not equals Email *
Email * is my placeholder.
This is what I have for my form:
<label> Your Email (required)</label>[email* your-email placeholder "Email *"]
[group dvmc-group clear_on_hide]
<label> Your Location (required) </label>[select* dv-location include_blank "Central LA" "San Fernando Valley" "San Gabriel Valley" "South Bay" "West LA" "Orange County"]
<label> Kid Age (required) </label>[select* dv-age include_blank "0-2" "3-5" "6-8" "9-12+"]
<label> Kid Interests </label>[checkbox dv-interests "Vehicles" "Sports" "Performance" "Festivals" "Museums" "Nature"]
[/group]
[submit "Send"]
]]>For a client of mine, I have conditional fields set up to go to different departments of their business (Contact a Sales Representative, Product Support). I also set up conditional e-mail addresses for each department by putting the two different conditional shortcodes around two different e-mail addresses in the e-mail address field.
The form has been working fine since I set it up over a year ago, but I do get misconfiguration errors because of this. I know that the plugin isn’t technically set up to send to multiple e-mail addresses, but it works.
Are the misconfiguration errors something that I should be concerned about?
Thanks.
]]>I have a syntax error which prevents the sending of the form.
It looks like a bug on the file scripts.js
Can you check this please ?
I removed all the plugins that were putting scripts in the document head, and the problem persists.
Please check the error in the console :
https://ibb.co/d9MzCU
Thank you
]]>Recently we started experiencing issues where the form was not submitting. We’ve tested around a bit and this is what we’re seeing under Cerber’s activity monitor:
Malicious request denied Suspicious number of nested values
URL: [domain name]/wp-json/contact-form-7/v1/contact-forms/2574/feedback
We’re using the version 7.6 of Cerber and we’ve ensured that Contact Form 7 is an allowed/not-blocked REST API endpoint.
Any ideas on what’s happening here?
Can we moderate Cerber’s behavior to be less aggressive at blocking certain form submissions?
As for now, we’ve had to disable Cerber to allow this survey form to be used which is not ideal.
]]>