Quantcast
Channel: WordPress.org Forums » [Contact Form 7] Support
Viewing all 49038 articles
Browse latest View live

Multiple submissions when click submit many times

$
0
0

Replies: 0

When a submit any form in Contact Form 7, clicking more than on time (while ajax is working for send email, feed screen etc.), i get sucessive submits. Since I send e-mails for feeding back the writer and my client, they receive many sucessive e-mails.

I had to put in all pages a rotine for disable submit onclick. It seens to be working well, but I think that this wold be implemented inside the pluguin (otherwise, you will have to inject the code in all pages using a pluguin like Simple Custom CSS and JS). The advantage I see is that you dont have to intall an injector pluguin and also to have this code in all pages.

Since I am not a programmer, may be the community can improve the below code. All recent solutions I´ve googled on the internet (http://epsiloncool.ru/programmirovanie/preventing-multiple-submits-in-contact-form-7 and https://wordpress.org/support/topic/disable-submit-button-while-loading/ ) don´t work with recent versions of COntact Form 7.

Here is the code I am using now:


jQuery(document).ready(function () {

 console.log("página carregada com prevenção duplo clique!");
 jQuery(document).on('click', '.wpcf7-submit', function(e){
     if( jQuery('.ajax-loader').hasClass('is-active') ) {
          e.preventDefault();
          jQuery('.wpcf7-form-control.wpcf7-submit.form__button').val('Por favor aguarde ...').attr('disabled', 'disabled');
          console.log("Botão desabilitado");
          return false;
     }
   	else
    {
       jQuery('.wpcf7-form-control.wpcf7-submit.form__button').val('Enviar').removeAttr("disabled");
       console.log("Botão habilitado");
    }
  });

});

Only 2 fields in mail – but more than 12 fields in form

$
0
0

Replies: 0

Hello and a happy new year!
Thanks for that graet plugin!

Its my first time i use it and i got one problem i cant solve myself.
I set up this form:
http://dpg.4lke.de/unternehmen/kontakt/
When i send a testmail the result is an empty mail just with placeholders:

Von: [your-name] <[your-email]>
Betreff: [your-subject]

Nachrichtentext:
[your-message]

Can you tell me what i did wrong?

And another thing:
Your plugin says:
“2 configuration errors found” but it didnt say what errors.
Can you tell me where to look at?

Regards axel

How to get all content in the email

$
0
0

Replies: 0

Hello! 🙂

Thanks for this amazing plugin. Always been a huge fan. I’ve a question.

How do you display several different things in your mail? I only know how to display the name, subject and email. But what if I have two boxes for names? Or a box for company name? How do you display drop down menus etc? Here is my form code:

<b>Vælg venligst en dato</b>
[select* menu-235 multiple “Få os til at ringe og aftale en tid med dig” “d. 1” “d. 2” “d. 3” “d. 4” “d. 5” “d. 6” “d. 7” “d. 8” “d. 9” “d. 10” “d. 11” “d. 12” “d. 13” “d. 14” “d. 15” “d. 16” “d. 17” “d. 18” “d. 19” “d. 20” “d. 21” “d. 22” “d. 23” “d. 24” “d. 25” “d. 26” “d. 27” “d. 28” “d. 29” “d. 30” “d. 31”]
<b>Vælg venligst en ugedag</b>
[select* menu-235 multiple “Få os til at ringe og aftale en tid med dig” “Mandag” “Tirsdag” “Onsdag” “Torsdag” “Fredag” “Lørdag” “Søndag”]
<div class=”column one-second”>[text* your-name placeholder “Dit navn”] </div>
<div class=”column one-second”>[email* your-email placeholder “Din email”] </div>
<div class=”column one-second”>[tel* your-number placeholder “Dit tlf. nr”] </div>
<div class=”column one-second”>[text* your-name placeholder “Yderligere information”] </div>
<div class=”column one”>[textarea your-message x4 placeholder “Beskriv venligst kort mødets omfang.”]</div>
<div class=”column one”>[submit class:button_full_width “Send besked”]</div>

And under my email (the one that says what info I get) I put this code:

Fra: [your-name] <[your-email]>
Emne: [your-subject]

<span title=”message body”>Selve beskeden:</span>
[your-message]


Denne e-mail er afsendt fra en formular på Løverne (http://loverne.dk)

I am unsure of how to get more stuff displayed. Do I write your-name1? And what is the code for drop downs, text boxes etc?

Styling not working (only on submit)

$
0
0

Replies: 0

Hello everyone.
I have installed CF7 a few days ago and since then I have been trying to understand how to format it but with not much luck… The only thing I did manage to style is the submit… Like so:
.wpcf7-form input.wpcf7-form-control.wpcf7-submit {
background-color: #ff9900;
font-size: 28px;
font-weight: 500;
width:50%;
padding: 15px;
border-radius: 10px;
}

A few things worth mentioning –
1. I am using a child theme
2. My CF7 uses <label> </label> and not <p> </p>

What I would like to do:
1. Name ([text* your-name]) and email ([text* your-email])input field: Have bigger fonts, bigger fields and at 50% each
2. Have all textarea* smaller
3. Center the submit button

And here it is live – http://dpositiveimpact.com/contact-me/

Would greatly appreciate any help on this

Additional Settings condition based on dropdown

$
0
0

Replies: 0

I am looking to add a condition on the Contact Form 7 Additional Settings but really struggling because I am not sure what is supported and not.

Basically I want to do a basic validation based on the drop-down value in order to send user to to different “location.replace” PayPal link.

For example, the cost will be different between U7 and U8.

if the user selected U7 from dropdown
{
    location.replace('https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XXXXX');
}
else if user selected U8
{
    location.replace('https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YYYYY');
}
else
{
    do nothing
}

Please help and thank you so much in advance.

Contact Form 7 Remove Sent Item From Inbox

$
0
0

Replies: 0

The plugin is working fine. I am using it with “email before download” plugin. All is good except one thing that I have trouble figuring out.

Every time the plugin sends an email. I have that email showing up under the “sent items” off my gmail account. I am using myEmail@gmail.com as mu from address under the mail settings

Is there a way to sort this because I get thousands of mails in my sent items.

Message sends but spinning wheel

$
0
0

Replies: 2

Hello,

I am using Contact Form 7 with my Avada child theme. I have created a coming soon page, which has a small form that asks for the visitors email. The form is created using Contact Form 7. To test this form, when I input my email and click the submit button, all I get is a spinning wheel, but no confirmation. The ironic thing is, I receive the email after a couple of minutes, but when I return back to the coming soon page, the wheel is still spinning. Could anyone help me with this issue? Thanks in advance.

reCAPTCHA causes console error

$
0
0

Replies: 1

Hi,

I have just implemented reCAPTCHA, following the instructions from here

I have created the key and inserted the CAPTCHA tag on a form that appears in a modal window (“contact telephonique” here)

Now I get the console error:

Uncaught Error: ReCAPTCHA placeholder element must be empty
    at Fn (https://www.gstatic.com/recaptcha/api2/r201612151xxxx/recaptcha__fr.js:294:413)
    at https://www.gstatic.com/recaptcha/api2/r2016121516xxxx/recaptcha__fr.js:298:446
    at He (https://www.gstatic.com/recaptcha/api2/r2016121516xxxx/recaptcha__fr.js:57:654)
    at https://www.gstatic.com/recaptcha/api2/r20161215161951/recaptcha__fr.js:298:406
    at https://www.gstatic.com/recaptcha/api2/r2016121516xxxx/recaptcha__fr.js:381:1494

It seems this error comes usually when the script is called twice, and actually it is the case:

<script type='text/javascript' src='https://www.google.com/recaptcha/api.js'></script>
<script type='text/javascript' src='https://www.google.com/recaptcha/api.js?onload=recaptchaCallback&render=explicit'></script>

Why is that and what may I do..?
Thanks for the help

  • This topic was modified 21 hours, 8 minutes ago by  Agnes.
  • This topic was modified 21 hours, 8 minutes ago by  Agnes. Reason: script loading twice

Placeholder didn’t displayed on contact form

$
0
0

Replies: 1

Hi there
Searching on forum and can’t find what the trouble!!
On contact form (basic one) placeholders are not shown. I write on contact form

<div class="wpcf7-inline-wrapper">
<p class="wpcf7-inline-field">[text* your-firstname placeholder "Votre nom"]</p>
<p class="wpcf7-inline-field">[email* your-email placeholder "Email"] </p>

</div>

<p>[textarea your-message placeholder 40x3 "Message"] </p>
[submit class:btn class:btn-accent class:btn-block "Envoyer"]

and nothing is displayed.

My site : http://www.test.intermediart.fr/m-a-consultant/

To see the contact form just click on “contact” on menu.

Do you have any idea of what is the trouble ?
Thank you for your help

Contact form 7 not sending emails

$
0
0

Replies: 1

Hi,

We’ve got contact form 7 set up on our company website, alongside Flamingo, however after form submission no email is being sent to us to notify of a new message, however they are being stored in the database by Flamingo.

Any ideas what could be going on?

Contact Form Issue after WP 4.7 update

$
0
0

Replies: 1

Hi

I’ve been using Contact Form 7
for a long time.

But after this recent update to WP 4.7
all the contact form are not functioning.

Almost 6 – 7 sites, I’ve no clue.

Some are the contact pages become blank
and the other the when you click the send button the
there is no effect.

Contact us form not working

[Resolved] Empty field in mail although tag is in use

$
0
0

Replies: 1

Hello
i got this form:

<div class="label"> Produktname (Pflichtfeld) </div><label class="prodname">[text* Produktname id:produktname]</label>
<hr class="linie">
<div class="label">Produktart: </div><label class="prodart">[radio Produktart id:produktart label_first use_label_element default:1 "Hardcover" "Softcover" "Broschüre" "Wire O Bindung" "Flyer" "Lose Blatt Sammlung" ]</label>
<div class="labels">Sonstiges:</div><label class="prodartsonstig">[text Sonstiges id:sonstiges]</label>
<hr class="linie">

and i use these tags:

Produktname: [Produktname]
Produktart: [Produktart]
Sonstiges: [Sonstiges]

But the output in the mail is like this:

Produktname: Bildband

Produktart: Hardcover
Sonstiges:

You see…the topix “Sonstiges” is empty.
Can you please help?

regards axel

How to disable autoresponder?

$
0
0

Replies: 3

I want to run my autoresponder campaign through mailchimp and want to disable Contract Form 7’s built in autoresponder, how do I do this?

How to use plaintext instead of html in output

$
0
0

Replies: 1

Hi,

I have a contact form on my website, but we use Goldmine (CMS-system) and an emailprcessor that requires our data to be plaintext instead of html. How can I configure Contactform 7 to send data in plaintext instead of html?


[Resolved] Option “use_label_element” producing issues

$
0
0

Replies: 1

Hi again
i tried to use your option “use_label_element” but if i use it nothing works like it should.
Can you pleae tell me if this is the proper way to write it?
<label class="kasch">[radio use_label_element Kaschierung id:kaschierung label_first use_label_element default:1 "matt" "glänzend" "keine" ] </label>

regards Axel

  • This topic was modified 19 hours, 9 minutes ago by  bydlo.

[Resolved] “Default” on radio buttons not working

$
0
0

Replies: 1

Hello
can you please have a look here?
http://dpg.4lke.de/unternehmen/kontakt/

The first line of radio-buttons is correct.
The second line of radio-buttons is missing the default

But both codes are the same.
Line 1:
<div class="label">Produktart: </div><label class="prodart">[radio Produktart id:produktart label_first use_label_element default:1 "Hardcover" "Softcover" "Broschüre" "Wire O Bindung" "Flyer" "Lose Blatt Sammlung" ]</label>
Line 2:
<div class="label">Format:</div><label class="form">[radio Format id:format label_first use_label_element default:1 "DIN A6" "DIN A5" "DIN A4" "17 x 24" "DIN A3" ] </label>

I am reading in your FAQ and trying since more than 4 hours now but do not get any step further

Can you PLEASE help?

Regards Axel

Add custom input field dynamically

$
0
0

Replies: 0

Hi,
i want to add dynamic field after click on (Add another field) text

like we have form like this

Name:
Email:
Phone:
+Add Another Phone (Hyperlink) once we click on this link field add like
Phone: (but filed should be show once we click on (Add Another Phone)

please help me out ASAP i really need this done ASAP

  • This topic was modified 13 hours, 32 minutes ago by  sheikhaamirali.

How to pass data to ‘extra settings” section

$
0
0

Replies: 4

I am in the middle of making a basic sign up form where parents sign their kids up to various art classes that I teach. They can select any number of classes and then either with a fill in field or pull down enter the number of kids per class.

Once they hit submit, I need to send them a confirmation email using email(2) that includes the classes they signed up for.

What I would like is to pass this info to that email.
Key = [ # ] is the fill in field.

[ 0 ] Class #1 – 3pm – $10 per child
[ 2 ] Class #2 – 1pm – $30 per child
[ 1 ] Class #3 – 10am – $10 per child
[ 0 ] Class #4 – 11am – $20 per child

I have no idea how to do this and I’m not a programmer, unfortunately. I know I need to use the “on_sent_ok” function but that’s it, no idea how to pass the variables over to the confirmation email. Any help and guidance is really appreciated, thank you!

Getting form error with CF7 4.6 with reCAPTCHA

$
0
0

Replies: 1

Hi,

Since we updated the plugin to 4.6, we receive this error “THERE WAS AN ERROR TRYING TO SEND YOUR MESSAGE. PLEASE TRY AGAIN LATER.”.

I receive this error only if the reCAPTCHA is enabled. When I revert back to version 4.5.1 of the plugin it works fine.

I’m using Contact Form 7 – reCAPTCHA

Can anyone help me resolve this issue?

Thanks,

Jerry

  • This topic was modified 9 hours, 16 minutes ago by  jerry.gomez.
Viewing all 49038 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>