Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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,...

0
votes
0answers
10 views

Contact Form 7 make Date input minimum from another input [on hold]

Is there a way in Contact Form 7, where if you have two date fields, give an error if the second date is earlier than the first? Like <label> Start Date[date start-date] </label> <...
0
votes
0answers
8 views

Require user to input code from an array of allowed codes with Contact Form 7

I have a contact form 7 that I want to, only allow people submit if they enter a specific code from a possible list. Example codes P1001HHC P1002HHC If a user enters P1001HHC into the form, the ...
0
votes
2answers
25 views

donwload pdf file after contactform 7 submisson

i use the following code in my functions php to reach a download after contact form 7 submission. but it is not working //contact form 7 Download white paper// add_action( 'wp_footer', 'redirect_cf7'...
0
votes
0answers
10 views

Change post status after contact form 7 email is send

I have the following problem. I want to change the post status of a specific post after a specific contactform 7 form is submitted successfully. How can I do this. This is what i have at the ...
1
vote
1answer
27 views

Copying uploaded images not working in wordpress

I am trying to copy an image uploaded using Contact Form 7 to the uploads directory but this only produces an empty jpeg file with 0644 permissions even though the dev directory and the uploads ...
0
votes
1answer
89 views

How to disable autocomplete for inputs in contact form 7?

I have below code for contact form 7. Usually I use autocomplete="off" for html input field. However not able to figure out how to do the same for contact form 7 <div class="row"> <div ...
0
votes
1answer
19 views

Contact Form 7- problem with submit button

the problem is I am making dual language website with JS and CSS only. Language change is triggered with button, here's a sample of JS for reference: function languageSwitch() { var state = $('....
-1
votes
0answers
17 views

Format results in Contact Form 7 / Contact Form 7 Modules: Hidden Fields plugins

I am using the "Contact Form 7" plugin with the "Contact Form 7 Modules: Hidden Fields" plugin/extension. I manage to read my "post_date" and send it in the email with the "Hidden Fields" plugin. But ...
0
votes
0answers
27 views

how to add validation for min and max date range of contact form 7

I have created a date field using contact form 7 and set some min and max date range. It works fine with date picker widget but using keyboard it does not get the valid date. So I have created ...
0
votes
0answers
22 views

CF7 Redirect to thank you page based on ID

I'm trying to pass inputs based on URL parameters to a thank you page, depending on form HTML ID. My form shortcode is: [contact-form-7 id="63012" html_id="callbackform" title="Call Back"] I can see ...
0
votes
0answers
18 views

Contact Form 7 gets invalid date

Hi everyone I am using contact form 7, created a date field with min and max date limit, its working fine on selecting the date using the datepicker widget. But it gets out of range values from ...
0
votes
1answer
48 views

Sorting dynamic select/dropdown for Contact Form 7 of Modern Tribe Events posts

What I have is a dynamic dropdown/select box in Contact Form 7 I believe to be based on this: https://gist.github.com/morgyface/56474f0a37abb7d622880daf6eff6e40 It's been a while since I worked on ...
0
votes
1answer
23 views

Capture Recaptcha fail event on Contact Form 7

In the contact form 7 plugin, there is a field to highlight if the message hasn't been sent. Sender's message failed to send If the recaptcha fails, this message associated with this field appears....
1
vote
1answer
23 views

Can't add more than one attachment to Contact Form 7 [closed]

I am using Contact Form 7 on our website for people to book an event. Once they booked they will receive an ICS file and a ticket in PDF format. I'm using the wpcf7_before_send_mail hook to alter the ...
0
votes
0answers
26 views

Multiple recaptcha validation

There are multiple recaptcha on single page. How to check if a particular one is checked on a form submit of a particular form?
0
votes
0answers
16 views

Contact Form 7 Dynamic Text Extensions (Unwanted URLs Created - Blocked from Crawling Error in SEMRush)

I have a client that is currently using CF7 and it's Dynamic Text Extension plugin. They currently have a request a quote page for each of their products with a custom built form/search module that ...
-1
votes
1answer
85 views

Integrate Razorpay quick payments plugin with contact form7 plugin

I'm using a Contact form7 and Razorpay quick checkout plugin in WordPress. The shortcode for it is [RZP]. Help me use this in contact form7. What I have tried is in the functions.php of contact-form-...
0
votes
0answers
25 views

Contact form 7 not getting attachment

I'm using HTML tags instead of CF7 tags and this is the input ,but the name it's not showing in CFDB7.Whenever you upload a file everything else is being retrieved like input text,radio and other ...
0
votes
0answers
16 views

How to save data input by client while filling out the form?

I have a small website with 2 different contact forms. One form, created using Caldera forms (drag-and-drop) is quite long, about 10 pages (can't make shorter), and i was curious if there is a way to ...
-2
votes
1answer
33 views

Saving User Input to PHP Variable

When a user enters my site, the first page will ask them for their name. I want to make a tailored experience for each user. How would I save this text input to a PHP variable so that I can then ...
-1
votes
1answer
36 views

Send foreach $_post method to contact form 7 [closed]

I have a list of products generated by Javascript, I need to send them by the POST method via “contact form 7” If the list had 10 items, it would not be too heavy write 10 lines of code with "Contact ...
-1
votes
1answer
41 views

How to Prevent Unwanted Spam to Contact Form 7 [closed]

I posted about this on the Support page for the plugin, but figured I'd post here now, too -- I'm getting a lot of spam from the plugin Contact Form 7, and I was wondering what my options were for ...
-1
votes
2answers
68 views

How to pull and auto display custom fields values to contact form

I am using contact for 7 to create form. Currently I am auto completing value under text name field from Custom post type title, see below: $post_ids = new WP_Query(array( 'post_type' => 'Buyers', ...
0
votes
1answer
92 views

how to enable ajax on submitting of contact form 7?

Actually i am try to show the short code of contact form 7 in the popup window . but the The form appears in the popup window when i submit the form page loads. i want to stop the page after ...
0
votes
1answer
109 views

Auto Submit Contact Form 7

I’m looking for solution whole day but can’t find anything that work. So I want to automaticaly submit CF7 on page load. If I use any jQuery or JS solution there is some endless looping on the site. ...
2
votes
1answer
46 views

Horizontal (columned) Contact form 7 and acceptance field on devices

I want to make columned horizontal form with Contact Form 7, but I stuck with "acceptance" field layout on different devices. I use this CSS to implement my case: .one-half, .one-third, .one-fourth {...
1
vote
2answers
42 views

Is there a way to let user add and remove fields with Contact Form 7?

I'm building a form with Contact Form 7 and I would need to add multiple fields under a single label and I would need to let the user to add more fields under that same label if needed. I'm using 4 ...
0
votes
0answers
108 views

How to build a contact form with ACF in the middle of it

Background: I'm doing a photography website and this is an order form. The design is: Input field to choose how long of a photo session. ACF fields to show products and prices. ACF field ...
0
votes
1answer
316 views

Conditional fields in contact form 7 not working

In my contact form I need a drop down for order quantities. On selection of "other", I want to display a number field for input. Below is my code but it's not working. Can anyone help? Thanks in ...
1
vote
1answer
360 views

Contact form 7 Dynamic text - placeholder on GET field

I am using Contact form 7, with the Dynamic Text plugin. This works really nicely... What I'm doing is setting it up so that if the user clicks on a link on a product, it redirects them to an ...
-2
votes
1answer
16 views

Contact-7 multi screen dashboard

I am using contact 7 multi page form, Everything is fine but I am unable to see in my wordpress admin who has filled out and with what option, is there any dashboard screen which tells me who has ...
1
vote
1answer
29 views

Contact Form 7 - Give each checkbox a class?

I'm using Contact Form 7 and have a group of checkboxes in my form. I want to give each checkbox a class. CF7 lets us add a class, but this only applies to the parent object. I want my custom class on ...
0
votes
1answer
78 views

Radio&Checkbox buttons Contact form 7 not clickable

This is the code.In documentation [checkbox* your-country use_label_element "China" "India" "San Marino"] [radio your-sports label_first default:2 "Football" "Tennis" "Pole-vault"] But the radio ...
1
vote
0answers
23 views

Send form data to api in wordpress

Problem I want to send my wordpress form data to my .Net API. Link of my api http://remote.hhds.com.au:49172/API/api/addonlinebookings?jsonData=@test I am using Contact form 7 and also use contact ...
0
votes
2answers
54 views

Issues after switching over to HTTPS

I've just added SSL on my site and a questionnaire I have running isn't formatting correctly on the HTTPS. This is being driven by Contact Form 7 plugin. It still works fine on the HTTP site. Edit: I'...
1
vote
1answer
1k views

Download any file after submitting a form [closed]

I wanted to know if you know of a plugin, or a method so that when the user fills in and sends it to the form, they automatically download a file. I currently use the plugin contact form 7 Thanks.
1
vote
1answer
2k views

Modify Contact Form 7 input value before submission

I'm using Contact Form 7 and Flamingo to create a consultant registration form on my Wordpress site. By my client request, every submission need to have a registration code (reg_code) which is a ...
0
votes
1answer
639 views

Add Woocommerce product to cart with Contact Form 7 [closed]

I have a form where people can register for a seminar, which entails filling out your personal info and then selecting which seminar (s) you want to attend, and how many tickets you want to buy. The ...
0
votes
0answers
138 views

Contact form 7 ajax response true/false based on some condtion

I want to integrate custom logic after submit form. I want to store contact form data in the custom table, if data is stored then the response would be true otherwise false. I am using ...
1
vote
1answer
172 views

How to validate website field in contact form 7?

Is there any way to validate website field entered is right or wrong through Contact form 7? Please help me.
0
votes
0answers
100 views

Contact Form 7: filter / action to replace form content

I wrote a plugin where I use a function to replace the form tags for certain forms: add_action('wpcf7_before_send_mail', array( $this, 'changemail'), 10, 1); The function gets the form by name, and ...
0
votes
1answer
91 views

customize the body of the autoresponder email [closed]

I have to customize the body of the autoresponder email in Contact Form 7. As I have one dropdown on the form, on the basis of dropdown I have to update the autoresponder content in the mail. For the ...
0
votes
1answer
2k views

Adding a hyperlink to the checkbox in the contact form 7 [closed]

I have added a required checkbox field to contact form 7 to fill before form submission. But I need to give link "Terms and Condition" to the page. I searched and tried in many ways, but i cannot find ...
0
votes
1answer
431 views

How to modify or create custom contact form 7 select options [closed]

I'm using contact form 7 and here is the actual contact form 7 code to display the select drop down <div class="select-wpr">[select* program id:program first_as_label required "Choose your ...
1
vote
1answer
1k views

How to set placeholder to dropdown in contact form 7? [duplicate]

I am new to WordPress contact form 7 plugin and I need to add this to my contact form.. Anybody can help me please?
-1
votes
1answer
31 views

How to save data in my db table with using contact form seven?

I have a lot of input field and I'm using contact form seven. but let me know how to save the values of all fields in my db
-1
votes
1answer
94 views

How to create a table that interact with database in real time

I started a WordPress project recently which am using plugin like mycred and contact form 7. i have the following field input in contact form 7 name email address Card no Picture I will be saving ...
0
votes
3answers
2k views

Creating a contact form without a plugin [closed]

I am new to Wordpress development and am tired of fighting with Contact form 7 to style it how I would like. Is it possible and not considered 'bad practice' to put a html form on my contact page and ...
0
votes
0answers
28 views

Post Images are not showing up whenever I use shortCodes in my posts

This is my issue: Images are not showing up whenever I use shortCodes in my pages. I am using contact-form shortcode in my website contact page. And I also have published a header imagen for this ...
1
vote
2answers
667 views

Upload files - total size limit - Wordpress/Contact Form 7

A client of mine wants visitors to be able to upload images that do not exceed 25mb in size combined... The thing is that it seems all contact form plugins that I checked can set file restrictions ...