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

charlidust on "[Plugin: Contact Form 7] no error in validate for empty field with placeholder"

$
0
0

the site is in localhost, you can see the form in backoffice here:

<div class="form-group col-sm-6">
[text* nom id:nom class:form-control placeholder "Nom"]</div>

<div class="form-group col-sm-6">
[text* email id:email class:form-control placeholder "E-mail"]</div>

<div class="form-group col-sm-12">
[textarea* message id:message class:form-control placeholder "Message"]</div>

<div class="form-group button">
<button type="submit">Envoyer <i class="fa fa-chevron-right"></i></button>
[submit "Envoyer" type:hidden]</div>

and the result:

<div class="col-sm-7 formulaire"><div class="wpcf7" id="wpcf7-f15-o1">
<div class="screen-reader-response"></div>

<form action="/belugas/#wpcf7-f15-o1" method="post" class="wpcf7-form row" novalidate="novalidate">

<div style="display: none;">
<input type="hidden" name="_wpcf7" value="15" />
<input type="hidden" name="_wpcf7_version" value="3.8.1" />
<input type="hidden" name="_wpcf7_locale" value="fr_FR" />
<input type="hidden" name="_wpcf7_unit_tag" value="wpcf7-f15-o1" />
<input type="hidden" name="_wpnonce" value="e8527c56db" />
</div>

<div class="form-group col-sm-6">
<span class="wpcf7-form-control-wrap nom"><input type="text" name="nom" value="" size="40" class="wpcf7-form-control wpcf7-text wpcf7-validates-as-required form-control" id="nom" aria-required="true" aria-invalid="false" placeholder="Nom" /></span></div>
<div class="form-group col-sm-6">
<span class="wpcf7-form-control-wrap email"><input type="text" name="email" value="" size="40" class="wpcf7-form-control wpcf7-text wpcf7-validates-as-required form-control" id="email" aria-required="true" aria-invalid="false" placeholder="E-mail" /></span></div>
<div class="form-group col-sm-12">
<span class="wpcf7-form-control-wrap message"><textarea name="message" cols="40" rows="10" class="wpcf7-form-control wpcf7-textarea wpcf7-validates-as-required form-control" id="message" aria-required="true" aria-invalid="false" placeholder="Message"></textarea></span></div>
<div class="form-group button">
<button type="submit">Envoyer <i class="fa fa-chevron-right"></i></button><br />
<input type="submit" value="Envoyer" class="wpcf7-form-control wpcf7-submit" /></div>

<div class="wpcf7-response-output wpcf7-display-none"></div>

</form></div>

I fill only the "message" field, and when I send it... there is no error but this: "Votre message a bien été envoyé. Merci."

If I don't fill the "message "field", it say me that it's empty but not the other two.


Takayuki Miyoshi on "[Plugin: Contact Form 7] no error in validate for empty field with placeholder"

$
0
0

Try deactivating all other plugins and switching to the default theme.

charlidust on "[Plugin: Contact Form 7] no error in validate for empty field with placeholder"

$
0
0

Ok, I try switching to the default theme, and everything is working properly.
So I switching to my theme and desactivate my "main.js", and everything is working properly.
So I inspect my "main.js" and I found the problem: a code for IE placeholder !!!

IE, IE, IE... pfffffft

// placeholder for IE
    $('input[placeholder]').each(function(){
	    var input = $(this);
	    $(input).val(input.attr('placeholder'));

	    $(input).focus(function(){
	        if (input.val() == input.attr('placeholder')) {
	           input.val('');
	        }
	    });
	    $(input).blur(function(){
	       if (input.val() == '' || input.val() == input.attr('placeholder')) {
	           input.val(input.attr('placeholder'));
	       }
	    });
	});

Thank you very much for your help !

carrion215 on "[Plugin: Contact Form 7] getting customer emails from wordpress@pcp..."

$
0
0

Hi I've seen this topic in past forums but my question is: Is there any way for me to get the actual email from the client? I have already gotten the email from wordpress@pcp... but I would still like to know the original email of my potential customer is. Any help would be greatly appreciated, thanks.

https://wordpress.org/plugins/contact-form-7/

Zoee on "[Plugin: Contact Form 7] Send form with different "from" address in certain instances"

$
0
0

Hi, I have client that needs the "from" address to be that of the person submitting the form - to ensure they can reply in a timely manner and with ease.

However whenever someone submits the form with a gmail address the form never arrives.

Is there a way to manipulate the form so that if they user has a gmail address is alters the "from" address?

Cheers!

https://wordpress.org/plugins/contact-form-7/

cliftonshipway on "Contact Form 7 Responsive Columns"

$
0
0

Hey,

I am trying to set up a form with columns that are responsive (ie on a mobile). I have managed to set up the columns here on my orphanages website just fine using the following CSS:

#c7form_left {
    width: 47%;
    float:left;
    margin-right: 3%;
}  

#c7form_right {
    width: 47%;
    float:left;
    margin-left: 3%;

}  

.c7form:after {
    content:"020";
    display:block;
    height:0;
    clear:both;
    visibility:hidden;
    overflow:hidden;

}  

.c7form{
    display:block;

}  

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea
{
    background-color: #fff;
    color: #000;
    width: 85%;
}

And inserting it using the following code:

<div id="c7form">
<div id="c7form_left">
<p>Your Name (required)<br />
    [text* your-name] </p>
<p>Your Date of Birth (DD/MM/YYYY):<br />
    [text* dateofbirth] </p>
<p>Gender:<br />
     [text* gender] </p>
<p>Religion: <br />
    [text* Religion]</p>
<p>Relevant Dietary Requirements Or Medical Issues:<br />
   [text* text-254] </p>
<p>Home Address:<br />
    [textarea* text-339] </p>
<p>Any Experience Working With Other Aid-Organizations?<br />
   [textarea* text-258] </p>
<p>Any Experience Working With Children?<br />
   [textarea* text-257] </p>
<p>How Did You Hear About Us? (ie web-search, friend)<br />
   [text* text-884]</p>

</div>
<div id="c7form_right">
 <p>Your Email (required):<br />
    [email* your-email] </p>
<p>Are You Traveling With Anyone Else?<br />
    [text* text-876] </p>
<p>Nationality:<br />
    [text* text-882] </p>
<p>Date You Want To Arrive (DD/MM/YYYY):<br />
  [text* text-402] </p>
<p>Date You Want To Leave (DD/MM/YYYY):<br />
    [text* text-993] </p>
<p>Educational Experience:<br />
    [textarea* text-115] </p>
<p>Relevant Skills & Abilities:<br />
   [textarea* text-256] </p>
<p>Why Do You Want To Work With Us?<br />
   [textarea* text-255] </p>
<p>Upload Your Photo:<br />
[file* file-140] </p>
</br>
</div>
<p><i>We ask that everyone who wants to volunteer with us first read and agree to our Volunteers FAQ and our Visitors Handbook before applying. Upon arrival at the mission volunteers are required to sign a copy of the Visitors' Agreement.</i><br /><br />
[checkbox* checkbox-383 "I have read and agree to everything in the FAQ:"]<br /><br />
[checkbox* checkbox-382 "I have read the Visitors Handbook and agree to follow the Visitors' Agreement:"]<br />
</p>
<div id="c7form_left">
<p>Please enter the following code into the box below: [captchac captcha-505 size:l]</p><br />
<p>[captchar captcha-505 1/1]</p><br />
<p>[submit "Send"]</p>
</div>
</div>

Now the problem that I am having is that the two columns dont stack when the browser size is reduced. They just keep working off the percentages.

I found this post, which seems to suggest that the following lines should be added to the CSS...

Clear:both;
float:none;

...but I can't understand where that is supposed to go. Anyone ever actually successfully done this? I thought it would be simple -and something that many others would have tried to do in the past but can't get much help out of google. ;)

Thanks in advance for any answers.

Clifton.

https://wordpress.org/plugins/contact-form-7/

Rene Hermenau on "[Plugin: Contact Form 7] Emails not being received from CF7 forms"

Rene Hermenau on "Contact Form 7 Responsive Columns"

$
0
0

There are two ways you can go:

First one: Use a mediaquery

@media (max-width: 500px) {
#c7form_left {
float: none;
}
}

or use a fixed width instead percentual one. This wrap the columns automatically when scaled down:

#c7form_left {
width: 440px;
float: left;
margin-right: 3%;
}

Best,
René


Rene Hermenau on "[Plugin: Contact Form 7] Send form with different "from" address in certain instances"

$
0
0

Try this instead:
From: [name of your website] <[your-mail]>

pu this in Additional-headers:
Reply-to: [name-of-client] <[mail-of-client]>

So you can answer to the customer with just one click on the answer button of your email client.

Rene Hermenau on "[Plugin: Contact Form 7] getting customer emails from wordpress@pcp..."

$
0
0

I dont understand the questions mate. Can you go into detail?
When customer fills out the form with his mail address you receive his address.

Rene Hermenau on "[Plugin: Contact Form 7] on_sent_ok Addition Setting (using Select Option)"

$
0
0

just switch the wording 'checked' into select;-) this should do the job as well.

cliftonshipway on "Contact Form 7 Responsive Columns"

$
0
0

Thanks so much Rene, I added the following line of code to fix it:

@media (max-width: 500px) {
    #c7form_left {
    float: none;
    width: 100%;
}
    #c7form_right {
    float: right;
    width: 100%;
}
}

I really appreciate the quick help, you are awesome :)

Zoee on "[Plugin: Contact Form 7] Send form with different "from" address in certain instances"

$
0
0

Brilliant! That should do the trick!

I did also find that turning off HTML emails also fixed the issue.

Is there a list anywhere of what can be used in the additonal headers?

Thanks!!

dsigreg on "Contact Form 7 Responsive Columns"

$
0
0

Can you share how to modify the above to work with a four column and two row table? The form I'm working on can be found here in the middle of the page.

Rene Hermenau on "Contact Form 7 Responsive Columns"

$
0
0

Your welcome Clifton:-)

@dsigreg you have to avoid table and should use div container instead.


Rene Hermenau on "[Plugin: Contact Form 7] Send form with different "from" address in certain instances"

adblastbiz on "[Plugin: Contact Form 7] Contact form 7 conditional redirect"

$
0
0

figured it out finally... trial and error, 2 nights of hard work, but here is the working model which I tested and works in ff, ie, and chrome.
this code goes at the bottom box "Additional Settings" box and paste to notepad first as 1 line then copy and past from there. Payen it forward :)

on_sent_ok: " if (document.getElementById('youridnamenospaces').value=='your drop down value spaces ok') location = 'http://yoururl.com/page1/'; else if (document.getElementById('sameidnamenospaces').value=='your drop down option #2 spaces ok' ) location = 'http://yoururl.com/page2/'; else location.replace('http://yoururl.com/page0');"

https://wordpress.org/plugins/contact-form-7/

jenniferpeach on "Multiple / 3 columns in Contact Form 7"

$
0
0

I am trying to create a 3 (or 4) column form in Contact Form 7. I figured out how to do 2 columns using custom CSS in the Stylesheet, and using the div id's for "left" and "right" -- I tried to edit this same CSS / form to have 3 columns, but cannot seem to figure out how.

Any help would be extremely appreciated!

Thank you.

https://wordpress.org/plugins/contact-form-7/

lilts520 on "[Plugin: Contact Form 7] Campaign Monitor Addon - failed to submit"

$
0
0

I implemented the campaign monitor addon and it seems to be working. When I check my Campaign monitor list, there is a new email automatically added. However, upon hitting submit when entering your email, the following message appears "Failed to submit. Please try later or contact administrator by other way." rather then a "thanks for subscribing".

Does anyone know what could be going on?

buzztone on "[Plugin: Contact Form 7] Emails not being received from CF7 forms"

$
0
0

@yojicones & @Khianpin - This post has been flagged as Resolved by the OP.

As per the Forum Welcome, please post your own topic.

Posting in an existing topic prevents being able to track issues by topic. Added to which, your problem - despite any similarity in symptoms - is likely to be completely different.

Viewing all 49143 articles
Browse latest View live


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