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

learn more… | top users | synonyms (1)

8
votes
1answer
19k views

How to use other shortcodes inside Contact form 7- forms? [closed]

I noticed that any shortcode that is not part of the contact form 7 builtin shortcodes dont work. For example: I am trying to use an accordion shortcode between form elements in contact form 7. But ...
5
votes
2answers
7k views

Why might a plugin's 'do_shortcode' not work in an AJAX request?

tl;dr: Contact Form 7's shortcode doesn't work in an AJAX request when called with do_shortcode functions.php add_action('wp_ajax_ps_get_survey_form', 'ps_get_survey_form'); add_action('...
5
votes
2answers
3k views

Contact Form 7 - process form using a PHP script, instead of mailing [closed]

I want to use a form from the Contact Form 7 plugin to allow the users to upload a document to my website. The problem is that I'd like to manage those uploads from WordPress instead of receiving them ...
5
votes
1answer
3k views

Contact Form 7 - add custom function on email send [closed]

Just playing around with Wordpress / Contact Form 7. Is it possible / do you know how to add custom javascript function on successful email send event?
5
votes
5answers
2k views

Wordpress Contact Form 7 [closed]

I have a simple contact form using CONTACT FORM 7 PLUGIN on a page on my site. I want user to be able to download a video file only after he/she fills out the form and the form submission is ...
3
votes
2answers
21k views

Contact form 7 select box different value-text then content-text in option [closed]

DSoes anyone know how I can set a different valute in the select-options in contact form 7 plugin? Here is an HTML example of what I'm trying to do <selct> <option value="1">My car</...
3
votes
1answer
4k views

show image in mail contact form 7 [closed]

I am using contact form 7. I have a file field to upload images. Code of file field in contact form 7 [file* image filetypes:jpg|png|gif] I need to display the uploaded image in mail using ...
3
votes
1answer
4k views

How to Translate Contact Form 7 using qTranslate? [closed]

I'm using Contact Form 7 for my forms and also qTranslate to translate my website. I would like to translate all my fields and for that I used: <!--:en-->First Name (required)<!--:--><...
2
votes
5answers
21k views

How to resolve “Failed to send your message” problem for Contact Form 7? [closed]

I am using contact form 7 but when i m trying to send msg through contact form it gives error given below Failed to send your message. Please try later or contact administrator by other way. please ...
2
votes
1answer
3k views

Insert Captcha Code info Any Form (Created of Plugin)

I am looking for best option on Captcha. Plugin's don't seem to be the answer because this is a custom form for the theme I am using. Unfortunately, they don't offer any spam protection. The form is ...
2
votes
1answer
5k views

How to choose email recipient in Contact Form 7 based on address state input in form and save to database [closed]

Using Contact Form 7 Situation When a visitor fills out a form on the website, they enter: Name Email Phone Address (Street, City, State, Zip Code) Message I need to save this information to the ...
2
votes
1answer
1k views

Contact Form in sidebar [closed]

I have a Contact Form 7 form as a page on my site. I'd like to place the contact form on the sidebar. How can I do this?
2
votes
1answer
1k views

Server side validation for Contact Form 7 [closed]

I'm trying to use contact form 7 on my site. The only server side validation that it seems to do is check if required fields have been entered. Isn't there a danger if someone sends several MB of ...
2
votes
5answers
4k views

Contact Form 7 from adding paragraph and break tags to HTML emails [closed]

I'm trying to stop Contact From 7 from adding paragraph and break tags to HTML emails but can't figure it out. About 4 blank paragraph tags are added at the beginning of the email and two at the end. ...
2
votes
1answer
6k views

Contact Form 7 + Configure SMTP: Sender email appearing as my own email [closed]

I have Contact Form 7 and Configure SMTP installed on my website. When a user submits a message through the form, everything comes through fine but the sender email is never displayed. Instead, it is ...
2
votes
1answer
2k views

Contact Form 7 add ID to radio buttons [closed]

Need some assistance to dynamically generate IDs for a group of radio buttons in Contact Form 7. Example: <span class="wpcf7-list-item"> <label id="test01"> <input type="radio" name="...
2
votes
5answers
14k views

Contact Form 7 - Send attachment to submitter? [closed]

I have installed the Contact Form 7 plugin on my WP 3.2.1 instance. I have setup a contact form for users to request evaluations. This is all working fine, but I was hoping that when they submitted ...
1
vote
2answers
2k views

How to add placeholder for contact form7 for dropdown?

I tried adding placeholder similar to the given for ContactNumber for my drop down Outlet but it doesn't appear. Code- <div class="form-group form-icon-group"> <i class="fa fa-phone" &...
1
vote
3answers
7k views

Contact Form 7: Redirecting on a condition? [closed]

I am doing a survey using the plugin "Contact Form 7". I want to insert an acceptance box. ONLY if people check this box and click "submit", they should be redirected to another page, where I am going ...
1
vote
1answer
268 views

Why not to include reference to /wp-admin/admin.php in Plugin

Contact Form 7 recently pushed out an update which caused a few conflicts in other plugins. WPCF7 Author explains that it's because plugins are including calls to wp-admin/admin.php in their scripts ...
1
vote
1answer
1k views

Contact Form 7 Data As Attachment [closed]

I want data submitted through Contact Form 7 to be sent as an attachment as opposed to text / html inside the email body. Specifically I want this attachment to be in CSV format, which should be ...
1
vote
3answers
240 views

What is the right way to set up a one-page portfolio theme? [closed]

I would like to create a simple one-page portfolio theme for my own use. Most of the content will be static. The main reason I want to make it in WordPress at all is to make use of Contact Form 7 and ...
1
vote
2answers
7k views

get values from contact form 7 wp plugin [closed]

I am using contact form 7 plugin in my blog.I am having donate option in the form with price option in radio button. user can select and submit.After submitting the form it should redirect to the ...
1
vote
2answers
291 views

Error installing Contact Form 7 [closed]

What is the procedure to use this plug-in correctly? I have made a form using contact form 7, but when I test the form it fails to send an email with an error message "Failed to send your message. ...
1
vote
1answer
2k views

Contact Form 7 being hijacked to send spam? [closed]

My system emails on my linux server have been getting "message undelivered" emails which appear to be sent from the Contact Form 7 widget I have on my website. The odd thing is, there is no "to:" ...
1
vote
1answer
269 views

How to display posts by current user in a drop down

I am trying to write a shortcode that works in conjunction with Contact Form 7 to display the current user that is logged in posts. I have been able to get it to work with regular posts using this ...
1
vote
1answer
2k views

Simple and customizable contact form with option to send copy to submitter [closed]

I'm looking for a simple contact form that allows easy styling on the fields and most important includes a checkbox to send a copy of the message to the submitter (e.g ☑ send copy to myself) ...
1
vote
1answer
1k views

Trigger shortcode after submit button pressed [closed]

I need to execute a shortcode after the user will press the submit button. I am using Contact form 7 and have inserted the form by a shortcode in the Post edit section. It's basically a form ...
1
vote
1answer
3k views

Contact Form 7: Email custom HTML inputs or make a field readonly [closed]

I am trying to email a custom input <input type="text" name="total" id="total" class="wpcf7-text" readonly="readonly" /> I tried [total] but it does not work. Or isit possible to make a ...
1
vote
0answers
46 views

Prefilled textarea by custom post content by default

I want textarea to be prefilled with some custom content of custom post type. The following code works well when page loads for first time. function add_post_id_origin ( $tag, $unused ) { if ($tag['...
1
vote
0answers
39 views

Remove #wpcf7-f2450-o1 with Contact form 7 redirect

This is what I'm trying to do: I have a contact form, when the form submits I want to redirect to the page http://example.com/thankyou?c=thisisavariable . I can redirect, the problem is he redirects ...
1
vote
0answers
124 views

Best way to integrate contact us page with wordpress REST API

I want to integrate contact us page on my site. I am using Angular for frontend and WP-REST api. I want to capture Fullname, email, subject and Message but I am wondering what is the suitable way to ...
1
vote
1answer
124 views

Contact Form 7 - Add a Info Text to Checkboxes/Radiobuttons

I need a description to every Checkbox/Radiobutton. For Example Dancecourses. [checkbox* dancecourse use_label_element exclusive "beginner" "crashcourse" "another course" "another course"] I define ...
1
vote
0answers
28 views

Make a form that will send email to all the authors in selected category

Is there a way by which i can make a contact form in which user can choose a category from a drop down list and write a message. Then all the authors of the selected category will get an email with ...
1
vote
0answers
152 views

Dropzonejs with WPCF7

I have a form with the plugin WPCF7 and i have made it possible to upload multiple files(with drag and drop). Now the customer wants to upgrade the form too be able to upload several files at a time ...
1
vote
1answer
350 views

Prevent CF7 attachment from being deleted [closed]

I am using a contact form 7 plugin for an inquiry form and sending the visitor 2 local files attached to the reply email. The function I used is this: function my_dynamic_attachments($cf7) { $...
1
vote
1answer
393 views

Passing User_Fields to Contact form 7 [duplicate]

I'm trying to pass some custom field data to contact form 7 - The billing address and name and email address. I've created a function that pulls in these details from the database - is there an easy ...
1
vote
1answer
572 views

Contact Form 7 filter similar to preprocess_comment [closed]

Does the Contact Form 7 plugin have a filter similar to WordPress's preprocess_comment? I'll be using this filter to check the body of the message for certain words and call wp_die() to display a ...
1
vote
0answers
657 views

Contact Form 7 Not working with WordPress 3.4.1 [closed]

I am having issues with the Contact Form 7 with it not sending emails using WordPress 3.4.1. I can state that this combination is not working for me, for one of the sites I developed. It also doesn't ...
1
vote
2answers
4k views

Pop-up successful message in Fancybox? [closed]

I have a very long page and CF7 at the bottom. The problem is that when/if the user completes the fields and press Submit, the error or successful messages appear near the Submit button, but at the ...
1
vote
2answers
1k views

Add the last viewed post title to a contactform with shortcode [closed]

I'm using the contactform 7 plugin and i want to add the title of the last viewed page (The page visited before the contact) to the dynamic field of the plugin with a shortcode. Is there a way to do ...
1
vote
4answers
92 views

Need a method for base_url() or home_url() in CF7 additional settings [closed]

For a redirect in CF7, on_sent_ok: "location.replace('https://www.mywebsite.com/pageid')" works well in the additional settings but I need to make my website more portable. I would like to use a ...
0
votes
2answers
64 views

Can I make Contact Form 7 change over to a new page? [closed]

I'm trying to set up a form for people to fill in, however I want to split it up into sections so as to not create a long list of different details on just one page. For example: PAGE ONE Includes ...
0
votes
2answers
2k views

Redirect to another page using contact form 7? [closed]

I'm using CF7 to send some information to my email and everything's working fine, but I need to redirect the users to a different page after the email has been sent, by default the forms are sent to ...
0
votes
3answers
4k views

Contact Form 7 not sending emails- no confirmation, no error [closed]

Live site. I've noticed that Contact Form 7 recently stopped working, despite my not having touched any of the settings. What's odd is that I receive neither a confirmation nor an error message; I ...
0
votes
1answer
313 views

When I try and use contact form 7 it breaks my page [closed]

I am using the following code to add a contact form to my template, but this code as is breaks the page. It just shows a white page when I add this code. Am I doing it wrong. <?php [contact-form-7 ...
0
votes
1answer
4k views

Dynamically send pdf attached to post with contact form 7 [closed]

I'm trying to send a dynamic pdf that is attached to a post via the plugin contact form 7. I assume I need to use the hook: add_action('wpcf7_before_send_mail','send_pdf'); As it's been the hook I'...
0
votes
1answer
101 views

Delete user after Contact Form 7 submission [closed]

I need to allow users to delete their accounts on the front end, but need to collect some information about their reason for leaving. I'm using Contact Form 7 to collect the info, and want to use a ...
0
votes
4answers
12k views

How can I safely override contact form 7 styles? [closed]

Where do I place css styles to override the default styles of contact form 7 so that my changes do not get overwritten whenever I update this plugin?
0
votes
2answers
1k views

Can I customize the To Email address on Contact Form 7? [closed]

I want the email to be sent to different email addresses based on a drop-down Subject value. Can I do this with Contact Form 7?