Questions tagged [plugin-contact-form-7]

Please note: Support questions are off topic, support questions should be asked on the plugin's author support page. Contact Form 7 can manage multiple contact forms, plus you can customize the form and the mail contents flexibly with simple markup. The form supports Ajax-powered submitting, CAPTCHA, Akismet spam filtering and so on.

Filter by
Sorted by
Tagged with
0
votes
0answers
17 views

Add session data using add_filter()

I'm a little new to this and learning still. I have several forms that collect data from a user. This data must then be displayed in an extra field on the shipping page of Woocommerce. I use ...
0
votes
0answers
7 views

Contact Form 7 alert message bug in Admin

Contact form 7 keeps on showing this alert message even though no changes made. Any idea on how to fix this?
0
votes
0answers
14 views

How to set template type on post created with a particular taxonomy?

I have a plugin that automatically converts Contact Forms to Post. I made sure that all the posts submitted by this plugin contain a particular taxonomy. Category: "Discussion nuggets". I ...
0
votes
1answer
85 views

Export Form Data to a CSV then send it as an attachment - contact form 7

I want to export the form data and send it as an attachment. In this case, can i rewrite the file (/uploads/2020/08/sample.csv) with the form data and send it as an attachment. right now, it is just a ...
0
votes
0answers
18 views

Form behaving differently on small screens vs desktop screen

I have an issue and I would be grateful for any ideas! I'm using a simple template bought at ThemeForest and I successfully added google maps autocomplete functionality for addresses in a field via a ...
0
votes
0answers
22 views

How to change current category to another in wordpress

I am new to PHP. Please help me to achieve the below scenario. I am trying to achieve this from the last 3 days. I've two categories in my WordPress dashboard named "Available (id:3)" and &...
0
votes
0answers
12 views

How to add title value to subject in contact form 7?

I have this contact form And this is how the front-end looks like The url of the page is example.com/listing/philly-4-beds-1-5-baths-single-family/#contact I need to have the subject set as Philly 4 ...
0
votes
1answer
70 views

Wordpress Contact form 7 falat error while send an email

Fatal error: Uncaught Error: Call to a member function get_status() on null in /home/mywebsite/public_html/wp-content/plugins/contact-form-7/includes/contact-form.php:732 Stack trace: #0 /home/...
0
votes
1answer
40 views

Contact Form 7 Conditional redirect

As per this ticket on WordPress forum, I have added the below code to my contact form for conditional redirect. <script type="text/javascript"> inputs = event.detail.inputs; inputs....
0
votes
1answer
283 views

How to disable recaptcha v3 except contact form 7 pages

Contact form 7 is loading reCaptcha v3 scripts on all the pages of the sites which is making the website slow. So i was using the below script which was working fine before two weeks from now, but now ...
0
votes
0answers
15 views

how to insert values that are selected in conditional dropdown contact form 7

I have a form built with contactform7 and I have a conditional dropdown for example when I select country India the states in that country have to come. After selecting all the fields and filling the ...
0
votes
1answer
31 views

Filter multiple dynamic dropdown lists within one form using the Smart Grid-layout extension for Contact Form 7

I recently found solution for populating dropdown list with terms relative to the post. Everything works but I need to use this code on multiple dropdown lists within one form. My code looks something ...
0
votes
0answers
18 views

Use [from-email] from the contact form as sender's email

Is there any way we can use from email as senders email (e.g. [from-email]) which he enters in the form field? I'm currently using contact form 7 and looks like it won't support it at the moment. Is ...
0
votes
0answers
41 views

CF7 bitrix24 webhook don't sent files

I use standard webhook template for integrate CF7 to bitrix24. All works fine exclude files. I see nothing in CRM. add_action( 'wpcf7_mail_sent', 'your_wpcf7_mail_sent_function' ); function ...
0
votes
0answers
14 views

How to check checkbox is checked or not in Conatct Form 7 WP

I'm newbie to wordpress. i've created form in wordpress page using contact form 7. after summitting form data's i'm processing the data in functions.php file. recently i added new single checkbox in ...
0
votes
0answers
99 views

How to pass POST data from Contact Form 7 to another subpage after submitting the form

I would like to pass data from Contact Form 7 to another subpage after submitting the form. I would like to use the POST method for this I can get to this data with the wpcf7_before_send_mail filter ...
0
votes
2answers
73 views

Confirmation email Contact Form 7 [closed]

I use the Contact Form 7 plugin on my site, now I have a task to send a confirmation email after sending the data. But I can not find in the documentation how to do this without creating an extra ...
0
votes
0answers
10 views

images click popup form and submit images captions in email to admin?

Create Custom Post gallery..archive page display images. customer can click Enquiry Now button.. this button popup form submit all detalies name,email,phone no,msg to send email to admin
1
vote
0answers
26 views

Getting value from dymanic text variable into Contact Form 7

I have an inscription form and I'm using Contact Form 7, Conditional Fields plugin and Dynamic Text Extension. I want to show different prices according to the option selected and get the price for ...
1
vote
1answer
93 views

How to programmatically send additional notification emails in Contact form 7

I have a list of emails I have fetched from the Wordpress database. I would like to programmatically send emails to these emails using the contact form 7. this is my code function ...
0
votes
0answers
79 views

php output Contact Form 7 - Repeatable Fields

I'm using the plugin cf7 repeatable fields and I’m creating a form which saves a xml file while pressing submit button. I’m printing all the shortcodes of cf7 with $output .= $_POST[‘shortcode’]; but ...
0
votes
0answers
13 views

wordpress output numbers from an array of checkboxes

I'm not a php expert at all, but I've just started to learn it. I'm using a function on wordpress which creates a xml file after pressing send button on a contact form (with contact form 7). That's my ...
0
votes
0answers
22 views

Additional Headers: Contactform7

I am recently trying out Contactform7 for my website. I have added up the required fields. When it comes to saving the form, there is one error that I have no idea how to resolve. I've tried to read ...
0
votes
1answer
403 views

Adding custom attributes to input fields in Contact Form 7 tags

I want to open camera and save the picture taken. I don't want to upload saved picture. This can be done using the HTML5 - attribute: How can I add this capture attribute to my input tag in Contact ...
1
vote
0answers
35 views

How to escape the tailwindcss responsive syntax when using with contact form 7? [closed]

I am using the responsive syntax of tailwindcss for different screen size and when I am using it with Contact Form 7 (CF7) the syntax is getting ignored by CF7. [text* fullname id:fullname class:w-...
0
votes
0answers
16 views

CF7 display posts based on options selected

Good day, I have searched for a solution for the past 2 days but could not find anything and cannot even think of anything. I have created a contact form with CF7 with 5 steps. Each Step consists of ...
1
vote
1answer
167 views

How to programmatically customise the Contact Form7 notification email prior to sending?

I have post_meta that I do not want displayed or accessible in source when viewing a post, but I would like the post_meta to be included in email responses. How can I achieve this? I'm using ACF to ...
0
votes
0answers
607 views

How can I implement radio buttons with icons in Contact form 7?

I want to know how you can implement something like what is in the picture attached in Contact form 7, for now and seen what can be done with CSS 3 and HTML. But how can I implement it in the ...
0
votes
1answer
22 views

Send email to multiple addresses on Contact Form 7, but exclude personal details on all but one

I am building a site in Divi for a business that compares coach hire prices. The email should send the users details to both the client and the list of coach providers he works with, but with one ...
1
vote
0answers
167 views

Contact Fom 7 - how to add custom HTML inside span.wpcf7-form-control-wrap AND IMMEDIATELY AFTER input.wpcf7-form-control?

Contact Fom 7 - how to add custom HTML inside span.wpcf7-form-control-wrap AND IMMEDIATELY AFTER input.wpcf7-form-control ? Using the 'Query Monitor' plugin I found that the HOOK which I need to ...
1
vote
0answers
40 views

How can i add custom fields into the contact form 7 [closed]

I want to add additional fields into the contact us form. I already installed contact form 7 into my website,but now i want to add some more additional fields as per requirement. I also need to pull ...
0
votes
0answers
22 views

Send name field data to 2 different parameters using cf7 to api plugin

I'm using cf7 to api wordpress plugin to generate leads on odoo. My problem is I want to send name field to 2 different parameters i.e., name and contact_name which is shown in the 2nd image. But when ...
0
votes
0answers
30 views

Contact Form 7 - save_posted_data with specific form

I found a lot of information to save cf7 data to custom posts along with taxonomies and fields using save_posted_data and this works fine for me. But there is a question left for me. Is it possible ...
0
votes
1answer
288 views

Contact Form 7 - Populating dropdown list with terms relative to the post

I found another post that had the code for dynamically populating a CF7 dropdown with the terms of a taxonomy, and I have it working, but I wanted the terms to not just be all within the taxonomy, but ...
0
votes
1answer
22 views

How to put a contact form inside the footer of all the articles and pages of a website? [closed]

I have a Contact Form 7 form inside a WP website. I want to insert this form at the end of every page and article of the website, near the copyright notice. I just know the short code of the form (it ...
0
votes
2answers
188 views

Hide button after form submit and save state to localstorage

I'm trying to disable a form button (contact form 7) after submitting and then save the disabled state to localstorage. This disables the button after submitting: jQuery(document).ready(function($) { ...
0
votes
1answer
864 views

Make fields required on hidden Contact Form 7 fields

I'm using some form fields to gather contact information and then populating CF7 hidden fields with javascript. It all works great, however the user is able to send the forms without filling out ...
1
vote
0answers
785 views

Nextcloud integration with wordpress

We have a contact form on our website and we want to allow user to upload pdf file. We would like to uploaded file to be in turn uploaded to our nextcloud system. Could anyone please tell me if such ...
0
votes
0answers
111 views

How do I allow CORS from my mobile application to my WordPress backend?

I am using WordPress Contact Form 7 plugin to send message from my mobile application. Of course testing with PostMan worked with no issues but as soon as I tried to post to the endpoint from my ...
1
vote
4answers
3k views

How to get current post ID in Contact Form 7 wpcf7_before_send_mail hook action

I'm trying to handle the CF7 data before send and update the current post custom field using ACF function but I'm unable to get the current post ID the form is send from. I've also tried getting the ...
1
vote
1answer
29 views

Adding form field dynamically

I am preparing a WordPress web site for a non-profit in that I need to clone 3 input fields according to the user requirement. If they want, they can click an add button to increase input fields. ...
1
vote
0answers
36 views

Contact From 7 Custom Validation Issues

Here is the situation: I have to make a textarea a required field when the user selects "Other" in a dropdown. That does work, however whenever I try to chec if the validation on all other fields ...
0
votes
0answers
361 views

Contact Form 7 - multiple recepients

I am working with CF7 and for email to admin, I would like the same email to be send on custom address. The flow would be like this: user fill name, email and note send the form on the backend via ...
0
votes
1answer
66 views

Contact Form 7 - Make a selection unavailable after a number of bookings

Is it possible that a selection from a drop-down menu becomes unavailable after a certain number of bookings? I am taking ticket bookings and they are in batches and I would like to have certain ...
1
vote
1answer
58 views

CF7 conditional logic [closed]

I am looking for a way to add conditional logic to a CF7 form. I've stumbled upon a few plugins but those that I found seem to be missing the functionality that I am looking for. I am looking to ...
1
vote
1answer
2k views

Contact Form 7 Data to Whatsapp Link

Is it possible to get the data from the user input in Contact Form 7 to a WhatsApp prefilled text link? I'm trying to get the people who submitted the form to redirect to Whatsapp with the prefilled ...
0
votes
0answers
35 views

Contact Form 7 Infinite Loading

I am using Contact Form 7. I get various information and files from the user through mail.But sometimes there is a problem. Press Send to see 'Infinite Loading'. Nothing is displayed in Flamingo. Do ...
0
votes
0answers
275 views

How to use Contact Form 7 shortcode value in a page?

I’m a WordPress enthusiast. I am trying to accomplish something but I haven’t found a way to. Here’s the deal, I’m trying to use the submitted values of a form I created on contact form 7 in a script ...
0
votes
1answer
87 views

Contact Form 7: Drop-Down Menu with Read-Only Values?

Hi – is it possible to create a Contact 7 Form Drop-down Menu with ‘Read-Only’ values ? Syntax Example [select* trifold-template include_blank "Trifold #1" "Trifold #2" "Trifold #3"] Is it possible ...
1
vote
1answer
542 views

How i can remove span in the CF7 without touching error span?

add_filter('wpcf7_form_elements', function($content) { $content = preg_replace('/<(span).*?class="\s*(?:.*\s)?wpcf7-form-control-wrap(?:\s[^"]+)?\s*"[^\>]*>(.*)<\/\1>/i', '\2', $...

1
2 3 4 5 6