contact-form-7

How to add the last five years to cf7 drop down menu?

心已入冬 提交于 2021-01-29 09:00:37
问题 I'm building a contact form with the cf7 plugin for Wordpress. In this form I need a drop down menu which changes automatically every year. In the drop down menu I need to have the current and last 5 years in format 2020, 2019, 2018, 2017, 2016, 2015. That's easy to make with the plugin itself, but of course, when 2021 comes in, I would like that the drop down menu will changes automatically to 2021, 2020, 2019, 2018, 2017 and 2016. So that 2015 disappears(deleted). Based on the code in this

Uncaught Error: ReCAPTCHA placeholder element must be empty

筅森魡賤 提交于 2021-01-28 19:31:52
问题 I am getting below mentioned error in Browser Console. I have used Contact form 7 and Google Captcha in wordpress site. (1) Uncaught Error: ReCAPTCHA placeholder element must be empty (2) Uncaught error: invalid recaptcha client id: undefined Can please assist me to fix these issues. 回答1: Remove this from the <head></head> . It’s redundant. <script src='https://www.google.com/recaptcha/api.js'></script> 回答2: This is old, and might be a duplicate, but this is the page I found trying to solve

LockService: How do I lock a Google sheet from within a script?

孤者浪人 提交于 2021-01-28 18:42:51
问题 I'm using a Google spreadsheet to store contact info I collect from a website (GDPR compliant, don't worry) and I synchronize this sheet with Mailchimp using a custom App script, which runs in the background. More in detail, I'm using a temporary sheet as a buffer which is filled with the data users send via the site's forms (I'm using Contact Form 7 Google Sheets Connector). My script runs each time the event INSERT_ROW is triggered in the "buffer" sheet. It analyzes the data, stores them in

Contact-form-7: Change year-text in auto-replies dynamically

ε祈祈猫儿з 提交于 2021-01-28 06:20:55
问题 In every email auto-reply, there is a text for copyright purposes like: <em>Copyright © 2019 - All rights reserved.</em> Every year I have to change it manually for every form. Can this be done automatically? Like replacing the year with a variable: <em>Copyright © {{current_year}} - All rights reserved.</em> ? 回答1: There is no simple 'variable replacement' in the CF7 email. It is however easy to include the value of a form field. With that said, you could create a custom form tag [year_tag]

advanced custom field (ACF) Repeater + Contact Form 7

对着背影说爱祢 提交于 2021-01-07 02:44:43
问题 I have a Repeater field which creates " jobs " each job has title, text as sub-fields and also a contact form 7 form which sends jobs applications. I want to add hidden field which will also send the sub-field " title " so whenever form is submitted we know which job the sender sent the application from Tried to use: Contact Form 7 Dynamic Text Extension but it is not working with ACF as far as I'm concern any help will be appreciated 回答1: you could use CF7's 'wpcf7_form_hidden_fields' filter

advanced custom field (ACF) Repeater + Contact Form 7

徘徊边缘 提交于 2021-01-07 02:44:23
问题 I have a Repeater field which creates " jobs " each job has title, text as sub-fields and also a contact form 7 form which sends jobs applications. I want to add hidden field which will also send the sub-field " title " so whenever form is submitted we know which job the sender sent the application from Tried to use: Contact Form 7 Dynamic Text Extension but it is not working with ACF as far as I'm concern any help will be appreciated 回答1: you could use CF7's 'wpcf7_form_hidden_fields' filter

How to add Contact Form 7 fields to my custom HTML code?

大兔子大兔子 提交于 2020-12-15 06:09:41
问题 How can I add Contact Form 7 shortcode fields to custom HTML with class name of CSS? My HTML form code: <div class="form-section"> <strong class="form-heading"> Your Details </strong> <div class="row"> <div class="col-xs-12 col-sm-6 col-lg-12"> <div class="form-group"> <label> Your Name <span class="required">(required)</span></label> <input name="yourname" type="text" class="form-control icon icon-person" placeholder="First name, Surname" /> </div> </div> <div class="col-xs-12 col-sm-6 col

How to add Contact Form 7 fields to my custom HTML code?

心已入冬 提交于 2020-12-15 06:09:00
问题 How can I add Contact Form 7 shortcode fields to custom HTML with class name of CSS? My HTML form code: <div class="form-section"> <strong class="form-heading"> Your Details </strong> <div class="row"> <div class="col-xs-12 col-sm-6 col-lg-12"> <div class="form-group"> <label> Your Name <span class="required">(required)</span></label> <input name="yourname" type="text" class="form-control icon icon-person" placeholder="First name, Surname" /> </div> </div> <div class="col-xs-12 col-sm-6 col

Contact Form 7 send to multiple contacts at once upon user selection

梦想的初衷 提交于 2020-07-31 05:41:42
问题 Hi there I am creating a contact form in Wordpress contact form 7 and I'd like to send emails to multiple recipients at once if user selects "all" I had a look at this but doesn't seem to document if you can send to multiple recipients at once http://contactform7.com/selectable-recipient-with-pipes/ e.g This is either/or [select your-recipient "CEO|ceo@example.com" "Sales|sales@example.com" "Support|support@example.com"] I would like something like [select your-recipient "CEO|ceo@example.com"

Contact Form 7 send to multiple contacts at once upon user selection

爱⌒轻易说出口 提交于 2020-07-31 05:40:50
问题 Hi there I am creating a contact form in Wordpress contact form 7 and I'd like to send emails to multiple recipients at once if user selects "all" I had a look at this but doesn't seem to document if you can send to multiple recipients at once http://contactform7.com/selectable-recipient-with-pipes/ e.g This is either/or [select your-recipient "CEO|ceo@example.com" "Sales|sales@example.com" "Support|support@example.com"] I would like something like [select your-recipient "CEO|ceo@example.com"