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

Contact Form 7 Will not activate or display

$
0
0

Replies: 0

Contact Form 7 will not activate or display forms on my website. Can someone help me understand why? See steps taken by my host below:

—–

Hello Brian,

For some reason the website refuses to activate the contact form 7 plugin.

I tried to deactivate all other plugins and set you to the default theme but the issue persists

After that, I tried to reinstall the plugin but again the website is not activating it:
Code:
brianpasko@usm60 [~/public_html/wp-content/plugins]# wp plugin install contact-form-7 –activate
Installing Contact Form 7 (5.1.6)
Downloading installation package from https://downloads.wordpress.org/plugin/contact-form-7.5.1.6.zip…
Unpacking the package…
Installing the plugin…
Plugin installed successfully.
Activating ‘contact-form-7’…
Warning: Could not activate the ‘contact-form-7’ plugin.
Success: Installed 1 of 1 plugins.

I tested with php.ini and the .htaccess also disabled and again it made no difference.

I can recommend you to consult with a web developer or with the support of contact form 7 or to test with another contact plugin.

If there are other questions or issues you can submit a new ticket at any time.

Best Regards,

Evgeni Zagorov
Technical Support Team


Reserved field names

$
0
0

Replies: 0

This code will remove field names limitation.
All reserved field names will be available.

// Add prefix to form fields
add_filter(
    'wpcf7_form_tag', function ($scanned_tag) {
    if (!is_admin()) {
        if ($scanned_tag['name']) {
            $scanned_tag['name'] = 'wpcf7_' . $scanned_tag['name'];
        }
    }
    return $scanned_tag;
}, 10, 2
);

// Remove prefix in data fields
add_filter(
    'wpcf7_posted_data', function ($posted_data) {
    foreach ($posted_data as $key => $value) {
        if (substr($key, 0, 6) == 'wpcf7_') {
            $posted_data[substr($key, 6)] = $value;
            unset($posted_data[$key]);
        }
    }
    return $posted_data;
}, 1
);

// Deactivate error_unavailable_names for form edit page
add_action(
    'wpcf7_config_validator_validate', function (WPCF7_ConfigValidator $instance) {
    if ($instance->count_errors('section=form.body&code=' . $instance::error_unavailable_names)) {
        $instance->remove_error('form.body', $instance::error_unavailable_names);
    }
}
);

Contact Form 7 dropdown is not working on mobile

RTL text typing

$
0
0

Replies: 3

Hello,
I use the latest WP and CF7.
I have a form for Hebrew, meaning RTL language. It uses align=”right” for the “name” field and indeed the cursor is on the right side of the field.
When the user types hebrew – the cursor sticks to the right end and the characters are pushed to the left… very strange and annoying.
How can I fix this?

replcing deprecated 0n_sent with DOM event

$
0
0

Replies: 1

I’ve deleted the deprecated on_sent code, and replaced it with this DOM event code in functions.php:

add_action( ‘wp_footer’, ‘mycustom_wp_footer’ );

function mycustom_wp_footer() {
?>
<script type=”text/javascript”>
document.addEventListener( ‘wpcf7mailsent’, function( event ) {
if ( ‘1341’ == event.detail.contactFormId ) {
ga( ‘send’, ‘event’, ‘Contact Form’, ‘submit’ );
}
}, false );
</script>
<?php
}

But I don’t understand where I should insert the redirectt code; after submitting the form, I want the user to be taken to https://ranchodeloso.org/join-now-paypal/

Your help will be much appreciated!

—Ted

Upper Case problem in Contact Form 7

$
0
0

Replies: 1

Hi there,
I wonder if anyone can help me to get rid of the forced upper case input in my contact form?
I have found this code in the Focuson Theme that we are using:
.wpcf7 textarea,.wpcf7 select,
.wpcf7 input[type=”date”],.wpcf7 input[type=”datetime”],
.wpcf7 input[type=”datetime-local”],.wpcf7 input[type=”email”],
.wpcf7 input[type=”month”],.wpcf7 input[type=”number”],
.wpcf7 input[type=”password”],.wpcf7 input[type=”search”],
.wpcf7 input[type=”tel”],.wpcf7 input[type=”text”],.wpcf7 input[type=”time”],
.wpcf7 input[type=”url”],.wpcf7 input[type=”week”]{
background-color:#fafafa;
height:60px;
line-height: 60px;
text-transform: uppercase;

But even if i change the text-transform to “none” or to “lowercase” or even if I remove the code string, the form still uses capital letters.

I appreciate all help.

No form working

$
0
0

Replies: 0

No one of the form created with CF7 do work on this website (see submitted example): i tried to fix the configuration reading your guides and i’m pretty sure all is correctly set. Please make yourself a test so maybe you can find the solution.
Thanks.

SameSite Cookies

$
0
0

Replies: 0

Hi, I am getting a lot of errors regarding the SameSite cookies change coming soon.

Please could you fix your plugin to use SameSite=Secure instead of SameSite=None.

Here is an example of the error I am getting in console:

A cookie associated with a cross-site resource at <URL> was set without the "SameSite"attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with "SameSite=None" and "Secure". You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.

Thanks a lot

  • This topic was modified 38 minutes ago by anthony377.
  • This topic was modified 37 minutes ago by anthony377.

There was an error trying to send your message. Please try again later.

$
0
0

Replies: 0

In wordpress WordPress 5.3.2 version contact form 7 show this message “There was an error trying to send your message. Please try again later”. I was also used wp mail smtp plugin but error still shows.How to solve this error??

askimet help

$
0
0

Replies: 2

Hello. We implemented askimet with our contact form 7 to reduce spam. We followed the directions and used the suggested code for the email field. The issue is, when we are notified that someone submitted a form, instead of it showing the persons email address, it shows: [email-add]

We reached out to askimet, and they made a suggestion that didn’t work. So, they told us to reach out to Contact Form 7. Below is what we originally had in the form:
[email* your-email akismet:author_email]

This is what they suggested:
[email* your-email placeholder akismet:author_email “Email*”]

There suggestion didn’t make a difference.

Form only works on wifi

$
0
0

Replies: 0

For several sites now. Ive noticed that the contact form doesnt work properly on a mobile network. The javascript doesnt work. When you submit the form the page reloads instead. Also the page with the contact form constantly tries to reload when you try to visit it and but the page never loads.

If i switch to wifi on mobile, the form works again. What the heck is going on?!

How to connect to Mailchimp?

$
0
0

Replies: 1

I have a highly customized email subscribe form in the footer of my client’s site. Is there code I can add to the advanced settings on the Contact Form 7 plugin to connect it to their Mailchimp account? I’d prefer to keep the Contact 7 form we already have and not have to design a clunky form on Mailchimp and embed it that way. Please help.
Thank you.

can i deactivate a form automatically on a date

$
0
0

Replies: 0

I want to set up a form so that it can be used by a specific date. After this date the following message should appear instead of the form: “Registrations are currently not being accepted.”
Can that be done with contactform7?

reply to is adding my my email address

$
0
0

Replies: 1

even when i have reply to set to customers email but when i receive email from teh customer the reply to includes customers email and my admin email
https://prnt.sc/qgtkwn

its of no use just repeated email when i will already have that email in my sent foder so why should i sent that email to myself?

CF7 says its spam – only in Chrome

$
0
0

Replies: 2

In all browsers I can send my forms perfectly. Only in Chrome I can’t send the form. There I get an error its marked as spam. But I am testing with my own details and not using recaptcha. Also I checked Contact>Integration, nothing there. I have tested this on 3 different sites and on all sites I get an error – only in Chrome.
Any suggestions why this only happens in Chrome?

This is a testpage (theme twenty-nineteen without any other plugins) I set up with same problem:
http://bit.ly/2Zy6iLI

  • This topic was modified 8 hours, 13 minutes ago by Alain Lankers.
  • This topic was modified 8 hours, 5 minutes ago by Alain Lankers.
  • This topic was modified 7 hours, 48 minutes ago by Alain Lankers.
  • This topic was modified 7 hours, 37 minutes ago by Alain Lankers.

range has no value-field

$
0
0

Replies: 0

Hi,

i have got the following tag:

<label>Alter? *
[range* alter min:0 max:25 step:1] </label>

It shows a range slider but there is no current value shown for the user. is this possible?

File upload

$
0
0

Replies: 1

Hi,

I want to allow uploading files to my website. The uploaded file will be send to an email…

A couple of questions:

Is the uploaded file stored on the server?

To protect my website from viruses I only allow docx and pdf. What else should I do to make sure no viruses are uploaded?

Thanks

CF7 treating mail as Spam

$
0
0

Replies: 1

Contact Form 7 seems to be having major issues with email being treated as Spam

The form on my Contact Page now sends fine (after I disabled reCAPTCHA keys and then re-installed them)

But my ‘Registration Form’ submissions still gets flagged as spam.
I just installed Flamingo and the two test messages states that I have “reCAPTCHA score (0.10) is lower than the threshold (0.50).” or “reCAPTCHA score (0.00) is lower than the threshold (0.50).”

I also notice that Ninja Forms (which was installed when I recently installed a new theme) states that Contact Form breaks reCAPTCHA for other form builder plug-ins and CF7 should be disabled.

(And yes I’ve read the FAQs, which as stated previously don’t actually provide much insight for fixing the problem)

contact form 7 stoped getting messeges

$
0
0

Replies: 0

it gives en error messege right after i hit send.
The funny thing is i didnt change anything.

textarea size

$
0
0

Replies: 0

I am trying to shrink the size of the “you message” box on this contact form. In the docs it says I can use 40×10 as an example but when I do this it doesn’t work. I can do x10 and that does not give an error but I can’t do 40x or 40×10. When I try the latter two options there the page displays “Your Message (required) [textarea 40×10 your-message]” If I just set x10 the size of the box does not change. How can I make the box smaller?

<label>
Your Message (required)
[textarea your-message] </label>

Viewing all 49143 articles
Browse latest View live


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