contact-form-7

AJAX form submit not working on iOS devices

亡梦爱人 提交于 2019-12-24 11:37:09
问题 Okay, so this sounds plugin-specific, but I'm hoping someone could explain WHY this might be happening. I'm developing a site in Wordpress, and I am using two plugins, Contact Form 7, and an integrated Mailchimp plugin for CF7. On form submit, it should serve a failure or success response via AJAX and that's that - I've never had a problem. However, on this site the data is still submitted and is working fine. However, instead of an AJAX response, the page is reloaded. THIS IS ONLY ON iOS!!!

How to disable submit button and change text on form submit at Wordpress “contact form 7”

牧云@^-^@ 提交于 2019-12-23 05:26:13
问题 I am using "contact form 7" WordPress plugin. I want to disable submit button on form submit and change text like "Submitting...." and enable on success or on error so the user can click again. 回答1: Please use this code to disable the submit button. jQuery('.wpcf7-submit').on('click',function(){ jQuery(this).prop("disabled",true); // disable button after clicking on button }); As we know that the contact form 7 plugin returns various responses after submitting. This is for mail sent event:

contact form 7 (wordpress) style the hml mail template

左心房为你撑大大i 提交于 2019-12-23 02:38:14
问题 I´m using contact form 7 (wordpress, contact form) as a order page for products. But I´m interested in styling the HTML-Mail-template in the same 3-column style as the picture. Is there any easy way to do that? 回答1: I think the two previous answers misunderstood the question. Johny is asking how he can edit the html email that gets sent out by contact form 7 either to himself or the person who completes the form. To do this you need to select the option of "Use HTML content type" in order to

Contact Form 7 and Custom post type

瘦欲@ 提交于 2019-12-22 07:04:04
问题 I want to use contact form 7 in Wordpress to build a order Form. I want the content of the order Form to be populated with content from a custom post type "trade Show Material" - The post type contains the fields "name" "number" "description" "photo" . The idea will be that each piece can be selected from the form . Can anyone offer the general direction for this? Should I perhaps be using another plugin entirely? 回答1: Maybe you can use the wpcf7_form_tag filter hook for this. If you want to

calculating check boxes

纵然是瞬间 提交于 2019-12-22 00:30:11
问题 I am facing a problem in contact form 7, and I would like to have some help. The problem that I am having is that I have a set of Check boxes that I would like to have a total show when a client clicks on it. MY Check box: (multiple select ) can pick more then one [checkbox GRCGA class:multipal use_label_element "$10.00" "$20.00" "$25.00" "$50.00" "$75.00" "$100.00" "$200.00" "$400.00" "$500.00"] Total Amount: <span id="total">$00</span>.00 Jvascript: $("input[type=checkbox]").change(function

Contact Form 7 auto added p tags

﹥>﹥吖頭↗ 提交于 2019-12-20 09:49:01
问题 I have next code inside contact form 7 editor <div class="row"> <div class="col-sm-8 col-sm-offset-2"> <div class="row"> <div class="col-sm-4"> [text* name class:border-field placeholder "Name"] </div><!-- End of col --> <div class="col-sm-4"> [email* email class:border-field placeholder "Email"] </div><!-- End of col --> <div class="col-sm-4"> [text subject class:border-field placeholder "Subject"] </div><!-- End of col --> </div><!-- ENd of row --> </div><!-- End of col --> </div><!-- ENd

contact form 7 mail not sending

百般思念 提交于 2019-12-20 03:00:47
问题 I have used contact form 7 for one of my wordpress sites. I have also integrated wp-mail-smtp for sending mail. In local site is running properly but When I configure it on server it gives error. Problem is though I get success message but it does not send mail to specified email id. and when I try to send the test message from smtp, it gives below error The SMTP debugging output is shown below: SMTP -> ERROR: Failed to connect to server: Connection timed out (110) SMTP Error: Could not

Download File after submission in Contact Form 7 Wordpress (deprecated on_sent_ok)

為{幸葍}努か 提交于 2019-12-13 07:37:11
问题 I want the user to download a PDF file after submitting a simple Contact Form 7 in Wordpress. I see that the on_sent_ok is deprecated and won't be allowed by the end of 2017 and should be replaced by DOM Events. I am having issues achieving this with the following code: .htaccess file: <FilesMatch "\.(?i:pdf)$"> ForceType application/octet-stream Header set Content-Disposition attachment </FilesMatch> functions.php: function mycustom_wp_footer() { ?> <script type="text/javascript"> document

Is It possible to have two submit buttons in one form with differents redirects in contact form 7?

非 Y 不嫁゛ 提交于 2019-12-13 04:47:11
问题 Wordpress (Contact form 7) I have one submit button know, that has a redirect to a page: on_sent_ok: "location = 'http://xxxxxxxxxxx.com/xxxx/?page_id=1';" Know I wanna know if its possible to have one more submit button in the same form redirecting to another page? Or Is It possible to do it without using on_sent_ok:? 回答1: Yes, it is possible, you have to name your button and add a value to it. That will be sent with the form. On the server you can check what button was pressed by checking

Jquery function multiple upload fields add indivdually

百般思念 提交于 2019-12-13 03:47:53
问题 I have a contact form that I have set up using contact form 7 for wordpress. What I would like to know is if there is a function that when the user clicks on an add button a new file upload option appears so they can have a maximum of 5 file upload fields but 1 shows initially and then they add another one as they need it. I found this: http://kg69design.com/multiple-files-uploading-cf7.html but I can't seem to get it to work any help would be appreciated. thanks 回答1: Go to the plugin and