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

Contact form not submitting

$
0
0

Replies: 0

Hi,

I am using this plugin on my wordpress site.
This was perfectly working on my staging site but When I moved it to live server then it gives error and only rolling img displays when I hit the submit button.
I can see this error in live server error log –

[php7:error] [pid 12673] [client 162.158.167.106:63636] PHP Fatal error: Uncaught Error: Call to a member function get_invalid_fields() on null in /var/www/html/bwr_prod_2019/wp-content/plugins/contact-form-7/includes/submission.php:275\nStack trace:\n#0 /var/www/html/bwr_prod_2019/wp-content/plugins/contact-form-7/includes/submission.php(187): WPCF7_Submission->validate()\n#1 /var/www/html/bwr_prod_2019/wp-content/plugins/contact-form-7/includes/submission.php(34): WPCF7_Submission->submit()\n#2 /var/www/html/bwr_prod_2019/wp-content/plugins/contact-form-7/includes/contact-form.php(729): WPCF7_Submission::get_instance(Object(WPCF7_ContactForm), Array)\n#3 /var/www/html/bwr_prod_2019/wp-content/plugins/contact-form-7/includes/rest-api.php(280): WPCF7_ContactForm->submit()\n#4 /var/www/html/bwr_prod_2019/wp-includes/rest-api/class-wp-rest-server.php(946): wpcf7_rest_create_feedback(Object(WP_REST_Request))\n#5 /var/www/html/bwr_prod_2019/wp-includes/rest-api/class-wp-rest-server.php(329): WP_REST_Server->dispatch(Object(WP_REST_Request))\n#6 /var/www/html/bwr_prod_2019/wp-includes/rest-api in /var/www/html/bwr_prod_2019/wp-content/plugins/contact-form-7/includes/submission.php on line 275

Can you please help me to fix this issue??
My server configurations are same for both the sites.
I will really appriciate if you help me ASAP.

Thanks,


Contact Forms In Wait State after Upgrading.

$
0
0

Replies: 0

FYI, after the last plugin update the contact form is in constant wait state after submission and never finishes. I re-saved the forms and they started working again. Is this normal? If so, maybe a warning should be displayed. If not, what causes this? We have no idea how many contacts we are missing.

Orange Error & Strange Situation

$
0
0

Replies: 1

Hi folks,

This is weird and has me scratching my head.

I received the orange message so, after deleting each field in the form one by one, I was left with just one text box, and it worked. The email was successfully sent! But adding more than one field made it fail.

I contacted my hosting company who were very good to have a look for me, and they were able to send as per normal, said they couldn’t see anything wrong, and so couldn’t offer anymore help.

I asked about IP addresses being blocked by recaptha, and he said it’s not possible. Only a site-wide block would stop me from entering the webiste completely.

So, as a test, I created a band new form that comes ‘stock’ with pre-loaded fields, and that didn’t even work.

I use the exact same fields and recaptha on other websites, and they all work fine.

I am not upgrading WordPress 5.2.4 because my theme failed to allow access for updating, and so I reverted back to version 4.9.12 a long time ago.

Any help would be greatly appreciated.

Thanks 🙂

Name must be with polish letters otherwise Red Error

$
0
0

Replies: 0

Hi,

I have a strange problem. The field with a surname needs a polish letter (ą ę etc.) to work. Otherwise there is an red error “could not send your message”

It used to works, but couple days ago stopped.

I have the newest version od contact form 7 and wordpress.

Help! 🙂

Creating If/Then Logic

$
0
0

Replies: 0

Hi there,
I’d like to add some “if/then” logic on a contact form and cannot find any documentation on how to use the existing tags to do this.

This is what I’m interested in: I’d like item 14/16 to auto-populate with a different dropdown selection based on the checkbox selection made in item 6/16. Is this possible?

Thanks!

How to Prevent Submission in Background

$
0
0

Replies: 0

Hello,

I’m working with a client who is requesting the following, but I’m unable to figure out how to do this for Contact Form 7:

The form still seems to be submitting in the background. The redirect IS working but here’s what should be happening:

1) When the form submit button is hit it should immediately redirect to our system where WE handle the post action and can show a confirmation/error/etc.

Here’s what IS happening:

1) When the form submit button is pressed it submits the form to our system in the background and THEN redirects to our system without the POST information so we can’t show any errors or confirmation message to the customer because the front-facing side that they get redirected to doesn’t contain any of the form data.

Is there a way to get that form plugin to NOT submit in the background?

I changed the action for the form, but apparently, my client also wants that the form does not submit in the background.
I was wondering if this was possible? If so, how?

Use Hidden input in Mail tag

$
0
0

Replies: 0

Hi,

I would like to pass dynamic client email addresses from a hidden input into the To: field for a Contact Form 7 form.

But according to documentation on config errors, only an “email*” Mail Tag can be passed into the To field.

Wouldn’t this be somewhat of a security concern, since the client e-mail could be modified as an email tag? I’d prefer to keep it hidden.

If I don’t use this configuration, I will have to create hundreds of forms with different To: recipients, which seems very counter-intuitive.

Any suggestions for a way on how to include hidden input values in the To: field?

Thanks for your time and help.

Sincerely,

Blaine

Inserting Hyperlink into checkbox: JS solution

$
0
0

Replies: 0

Here is a common fix for inserting your hyperlink into a checkbox. Just remove comments down below (/* */), change out all of your own values, and place script in the body of your HTML page.

/*

<script>

// Generate anchor element and insert after span element
const yourSpanElement = document.querySelector(‘.yourSpanClass .wpcf7-list-item-label’);
yourSpanElement.insertAdjacentHTML(‘afterend’, ‘place your anchor element here’);

</script>

*/

  • This topic was modified 10 hours, 58 minutes ago by kfriedman.
  • This topic was modified 10 hours, 57 minutes ago by kfriedman.

CF7 Not submitting

$
0
0

Replies: 1

I am building a custom wp theme and for some reason, the cf7 is not submitting. It is, however, redirecting but to a search results page. I see no errors in the console. Any help would be appreciated. I will show the form I used in the admin panel as well as the contact form code.

<div class="col-md-7 col-md-push-1 animate-box">
  <div class="row">
    <div class="col-md-6">
      <div class="form-group">
        [text* your-name class:form-control placeholder"Name"]
      </div>
    </div>
    <div class="col-md-6">
      <div class="form-group">
        [email* your-email class:form-control placeholder"Email"]
      </div>
    </div>
    <div class="col-md-12">
      <div class="form-group">
        [textarea your-message class:form-control placeholder"Message"]
      </div>
    </div>
    <div class="col-md-12">
      <div class="form-group">
        [submit class:btn class:btn-primary class:btn-submit "Send Message"]
      </div>
    </div>
  </div>
</div>
<div class="col-md-12 col-md-offset-0">
						<div class="row">
							<div class="col-md-4 animate-box">
								<h3><?php the_field('contact_direction'); ?></h3>
								<ul class="contact-info">
									<li><span><i class="icon-map5"></i></span><?php the_field('contact_address'); ?></li>
									<li><span><i class="icon-phone4"></i></span><?php the_field('contact_phone'); ?></li>
                                    <li><span><i class="icon-envelope2"></i></span><a href="mailto:<?php the_field('contact_email'); ?>"><?php the_field('contact_email'); ?></a></li>
                                    <?php if( get_field('contact_website') ): ?>
                                        <li><span><i class="icon-globe3"></i></span><a href="<?php the_field('web_site_url'); ?>"><?php the_field('contact_website'); ?></a></li>
                                    <?php endif; ?>
								</ul>
							</div>
							<?php echo do_shortcode('[contact-form-7 id="183" title="Contact form 1"]'); ?>
						</div>
					</div>

Contact Form 7 Emails Arrive With Tags Instead of Values

$
0
0

Replies: 0

I have set up my contact form to use mail tags that should submit values when I receive an email. However, all I receive is [your-name] from [your-email] in the Subject, and [your-message] in the body. I’ve seen users with similar problems relate the issue to the managed 1&1 IONOS hosting, but I don’t have that hosting service, nor do I have the cosy address book plugin. I’m using Siteground Hosting if that helps. I’d appreciate any assistance, and thanks in advance.

Contact 7 form wpcf7_before_send_mail formdata omits hiddenen fields

$
0
0

Replies: 0

Hi. I have a contact 7 form with definition including:

[hidden text ID default:get]
<label> Your Name (required)
[text* your-name] </label>

The hidden ID field is populated from the ID field passed in the URL to the WordPress page (I am using a custom link)
Within the PHP code handling the form submission using wpcf7_before_send_mail I have the normal code:

function contactform7_before_send_mail( $wpcf7 ) {
$form_to_DB = WPCF7_Submission::get_instance();
$form_id=$wpcf7->id();
if ( $form_to_DB ) {
$formData = $form_to_DB->get_posted_data();
}

This works fine and I can get the form field data out of $formData. However I am trying to get the data in the hidden field using $formData[‘ID’]
This works fine if the ID field is NOT hidden but when hidden returns blank.

I realise this is a little obscure but I have tried for a day to find a way round this.

Thanks Paul

Error Messages not Displaying in Chrome or Safari

$
0
0

Replies: 0

Hello,

Error messages are not displaying for our form.

I’m on Mac Mojave 10.14.6 and I’m using Version 5.1.4 of Contact Form 7.

eg. I tried specifically loading a permitted file type that exceeds file size.

[file file-678 filetypes:jpg|png|pdf|jpeg limit:3mb]

Can you advise why the error messages are not displaying in Chrome or Safari?

I have the messages confirmed in the message tab.

Thank you!
Courtney

drop-down-menu not showing

$
0
0

Replies: 1

I use Contact Form 7 on a website built with WPBakery (all the latest versions). In the form is a drop-down-menu which is set up correctly (according to the info in the plugin documentation), but is not showing.

This is the drop-down-menu:

[select* keuzemenu “Aanmelden losse yogales: datum .. (losse les € 12,50 / leskaart 8 voor € 90,-)” “Bestellen Yoga leskaart (ik betaal vooraf 8 lessen voor € 90,-)” “Vuurcirkel ~ 28 oktober 2019 / 19.30 – ca 22.15 uur / € 15,-” “Ademsessie groep maandelijks vitalisten ~ 17 november 2019 / 15.00 – 17.00 uur / € 40,-” “Jaarabonnement ademsessie groep ~ 12x voor € 440,- (ik ontvang 1 sessie cadeau)’ “Half jaar abonnement ademsessie groep ~ 6x voor € 225,- (ipv € 240,-)” “Speciale ademsessie met klankbad ~ 15 december 2019 / 15.00 – 17.00 uur / € 30,-” “Interesse Basiscursus Ademcoaching ~ najaar 2019 ~ Hou mij op de hoogte” “Individuele coaching – Neem contact op met mij” “Individuele adem sessie ~ Neem contact op met mij” “Ademspecial voor twee ~ voor € 95,- / neem contact op met mij” “Access Bars sessie ~ Neem contact op met mij voor afspraak” “Intuïtieve massage ~ Neem contact op met mij” “Combipakket van 3 sessies naar keuze ~ Neem contact op met mij” “Anke Verstappen Coaching op het werk ~ Neem contact op met mij” “Bestellen cadeaubon” “Ik ontvang graag een aantal kaartjes met heling/meditatie symbool per post” ]

I hope someone can tell me what is wrong here!

contact form 7 signature add on not working on firefox

$
0
0

Replies: 0

Thanks for making wonderful plugin. Its working fine on google chrome but its not working on firefox browser. Also i checked Network tab Its give me 409 for contact-form-7 js and css.
How should I fix this? Waiting for answer.
Thanks in advance.

ERR_ABORTED 409 (Conflict Issues)

$
0
0

Replies: 0

wp-content/plugins/contact-form-7/includes/js/scripts.js?ver=5.1.4 net::ERR_ABORTED 409 (Conflict)

wp-content/plugins/contact-form-7/includes/css/styles.css?ver=5.1.4 net::ERR_ABORTED 409 (Conflict)
wp-content/plugins/contact-form-7/includes/js/scripts.js?ver=5.1.4 net::ERR_ABORTED 409 (Conflict)


Error – The message could not be sent.

$
0
0

Replies: 0

Error – メッセージの送信に失敗しました。後でまたお試しください。

The form was working perfectly yesterday, but we are facing the same error and can’t submit the form today.

There are no errors in the backend.

What shall I check next?

Thanks in advance!

  • This topic was modified 1 hour, 8 minutes ago by nozzax.

Failed to load resource: the server responded with a status of 409

$
0
0

Replies: 0

Hello, after an automatic WordPress update, the plugin forms now display a slash just below them and are no longer firing the wpcf7mailsent listener event, so it is no longer being redirected to the thanks page after submitting the form. .
This error “the server responded with a status of 409 or also known as net :: ERR_ABORTED 409” from what I see is a problem loading styles.css and scripts.js files
This must be the reason why it is not issuing the wpcf7mailsent listener event and a slash just below the forms.

Strangely if on the same page I manually click and open the styles.css file via URL, the file starts to load on the page and it stops showing that bar just below the form.

For this reason I am saying that you are not loading the styles.css and scripts.js files, as they do not even appear in the uploaded files folder, just after I open them by URL.

Here’s the test I did to show it:

The error happening:
https://ibb.co/Vvm8jwG

Did not load css file and js file:
https://ibb.co/kHszgW9

After I open the css style link that says it didn’t load:
https://ibb.co/FXcLRXQ
https://ibb.co/997nMgK

You no longer see the error that you did not upload the css file and now the file has been uploaded to the folder showing the contents. The same will happen with the JS file if I manually load it as the css file.
https://ibb.co/jGPQ2MH
https://ibb.co/chVjRTQ

What I already tried to do to fix, but it didn’t work:
– I disabled several plugins
– I updated the plugin
– I reinstalled the plugin
– I tested in other browsers, the error persists

Other sites with Contact Form 7 are also experiencing the same.

Environment Settings:
Theme: Javelin
WordPress: 5.2.4
PHP: 7.1.24
Hosting: Hostgator

File Attachment

$
0
0

Replies: 0

Is there a way of adding link for the file instead of file attachement?
Like when a person receives an email with the form details like name/email/phone/message then the file with the link example wp-content/uploads/2019/10/filename.pdf instead of a file attachment.

Conflict with Bambora plugin by Skyverge

$
0
0

Replies: 0

When I have the 2 plugins installed, the Expiration and Card Security Code fields seem to swap places, but really the Bambora iframes are made display: none; and an input is inserted automatically to each field in place of the Bambora iframes (in the wrong order). I should note that this only happens when a customer or guest is trying to check out, this does not appear when a logged in admin is viewing the Checkout page. Bambora support cannot fix the issue so they suggested I try here. I have a staging site set up with a default theme, so it has to be the plugins.

change. color

$
0
0

Replies: 0

hello to change the color of the message box to white ???

Viewing all 49038 articles
Browse latest View live