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

Improvement: Allow decimals in number fields

$
0
0

Replies: 0

Hi Takayuki

Great plugin, thank you very much! One small thing though: It would be nice, if you could use decimal numbers in the number fields ([number] and [range]), which is valid markup.

I would suggest the following code alterations, so you can use either a integer or a float as a min, max and step value:

contact-form-7/modules/number.php (beginning line 37):

$atts['min'] = $tag->get_option( 'min', 'signed_numeric', true ),
$atts['max'] = $tag->get_option( 'max', 'signed_numeric', true ),
$atts['step'] = $tag->get_option( 'step', 'numeric', true );

contact-form-7/includes/shortcodes.php (after line 255)

'numeric' => '([0-9]+[.])?[0-9]+',
'signed_numeric' => '-?([0-9]+[.])?[0-9]+',

Regards,
monoroc


Diverting messages to Inbox

$
0
0

Replies: 0

Whenever someone submits a query via the Contact form on my website, I can see the messages arriving via the WordPress’ Contact form. How can I divert these messages to my e-mail Inbox?

Thanks in advance.

Double tap to send the form

$
0
0

Replies: 1

Hello,

My visitors have to double tap the form to send. SHould be just one tap, ofcourse. Can somebody help me out? My URL is http://www.stijnspreekt.nl

Thank you!

Can’t Make, delete, duplicate or edit forms

$
0
0

Replies: 0

Picture of blank forms

I am not able to create new forms nor can I delete them, edit or duplicate. They show up empty, with out title or short-code, even if i give the a title. This problem started to day, because it used to work just fine. I am running it on localhost. Does some one know where it breaks? And how to fix it? I tried deleted it multiple times, and disabled all other plugins, nothing seems to work…

Thanks in advance,

  • This topic was modified 8 hours, 7 minutes ago by  istvan42.

Email Address Use yahoo.com In Contact form can not received

$
0
0

Replies: 0

When i USE contact form with contact form 7 to send enquiry, the email address input with some yahoo email address, i can not received the enquiry email [ps: the received email address used gmail ]. anyone can help me to solve this problem?

Recaptcha appears and disappears

$
0
0

Replies: 0

I’ve already read the others topics about this but it’s not working.

Sometimes the recaptcha appears and sometimes it doesn’t.

thanks

Conditionnal fields with php

$
0
0

Replies: 1

Hi,

Is it possible to have conditionnal field with php ? For example let’s say I detect country via geoip and some fields in the contact form are different per country. Or if the user come from a special page, etc.
(It’s different from the Conditionnal Fields addon where the fields are different when the user makes a choice)

Thank you

  • This topic was modified 17 hours, 34 minutes ago by  ced64k.
  • This topic was modified 17 hours, 34 minutes ago by  ced64k.

Form is not working after click on submit button

$
0
0

Replies: 1

When user click on submit button.Admin receiving email but ajax loader image continuously loading and also there is no success message on screen.
i already checked all expect like deactivate all plugin and activate default theme,but no use.


Unexpected token < in JSON at position 0

$
0
0

Replies: 0

​Hi,
Our contact form 7 is showing this error: “Unexpected token < in JSON at position 0​” when submitting a blank form. The link is http://barpremiere.co.uk/contact/

The form works when all fields are filled in, however, the error message doesn’t show when a user doesn’t complete all required fields. We have disabled all plugins but still the error is there.

Mandatory Entries?

$
0
0

Replies: 0

How do I make an entry (such as email) mandatory in a form?

Thank you!

Mike

How to debug “spam” problems?

$
0
0

Replies: 0

I am one the (apparently) hundreds of people who have encountered the problem in which suddenly all attempts to post email results in the dreaded “There was an error trying to send your message. Please try again later.” error message, enclosed in an orange (“spam”) box.

I have read the FAQ, along with many, many similar posts about this problem, but no useful information is presented.

How can we debug exactly what is causing Contact Form 7 to think there is a spam situation? Is there any way the plugin can output error/debug info to one of the log files. (I have WP_DEBUG enabled, etc.)

My setup:
WP 4.6.1
Contact Form 7 4.5.1
Postman SMTP 1.7.2

Unfortunately, this site is behind a firewall, so I can’t expose it. Again, email posting worked great for the first few days in which I had everything configured, but then today it suddenly stopped working. Between the time it was working fine and today, no additional plugins were installed or removed, and no significant configuration changes were made.

Please note that I am not asking you to fix my problem, but rather assist ALL of us in helping us to help ourselves by pointing out any and all ways we can debug the process.

Thanks in advance.

My form no longer sends

$
0
0

Replies: 0

I have this huge form that has been working for over three years and now it won’t send (Failed to send your message. Please try later or contact the administrator by another method.)

The validator now shows no problems, I did have Reply-To: [your-email] in the Additional Headers section and it failed validation? But according to what I have read this should be right.

As I said this is an old form and it uses [text* your-email] for the email address input, could this be my problem, does it now have to be [email* your-email]?

Dropdown content from SQL

$
0
0

Replies: 0

Hi,

at first I’m sorry about my english. I would like to fill a select field out of an SQL Table.

––––––––––
I will try to explain the situation to you.
I’ve got an SQL tabel which is called ‘wp_countrycity‘ with the columns ‘Country‘ and ‘City‘, which is filled like this:
ID:1, Country:Germany, City:Berlin
ID:2, Country:Germany, City:Köln
ID:3, Country:Germany, City:Hamburg

The select fields are ‘Country’ and ‘City’.
––––––––––

Now i want to say to the select field ‘City’, if anybody select ‘Germany’ from the select field ‘Country’ then show any City from Germany in the select field ‘City’.

Is it possible or how can i do it?

Thank you
Best Regards
Kocyigit

Bug in Select with ‘pr’.

$
0
0

Replies: 0

Hi there. I’m noticing that if I put a value into a Select that makes use of the letters pr in the email address it will put the “” marks around the line.

I.E. – [Select* whoToSendTo “PR <pr@mydomain.com>” “John <johndoe@jd.com>”]

Will show:
“PR <pr@mydomain.com>”
John <johndoe@jd.com>

in the dropdown.

Same if its: [Select* whoToSendTo “PR <press@mydomain.com>” “John <johndoe@jd.com>”]

it will show:
“PR <press@mydomain.com>”
John <johndoe@jd.com>

But if it’s: [Select* whoToSendTo “PR <rp@mydomain.com>” “John <johndoe@jd.com>”]

it will show:
PR <rp@mydomain.com>
John <johndoe@jd.com>

Is this the desired effect? Is there a reason why PR cannot be in an email address? Or why PR in the email address causes the select menu to add quotes around the entire line?

Net Promoter Score

$
0
0

Replies: 0

Hi there!

Is it possible to create a NPS form with Contact 7 form?

I’d like to receive the Score and publish as soon the user send it.

Thanks,

Fábio
box-cards.com/card/fabio-t-garcia/?lang=en


Google reCAPTCHA not working in widget?

$
0
0

Replies: 3

Hi!

First of all, thank you for a great plugin, I am using version 4.5.1.

I have come across a potential bug so I am noting it here.

I have a form with a Google reCAPTCHA integration and it is working great everywhere it is inserted on the page, except for in the footer. If I place the shortcode for a contact form (that has a reCAPTCHA) in a widget in the footer of my theme, the reCAPTCHA does not show up unless I am also on a page where I have included the same form outside of the widget areas, for instance in the regular page area.

So in short:

  1. Create a form with a recaptcha integration
  2. Place the form in a widget area, for instance in the footer
  3. Visit a page that does not have any other contact form inserted on the page -> reCAPTCHA does not show up in footer
  4. Create a page with a reCAPTCHA contact form inserted in the post content, visit it -> reCAPTCHA shows up in both regular post content and footer

I hope I have described the issue clearly enough to be able to reproduce.

Files attachment not receiving with Emails from remote server

$
0
0

Replies: 1

Hi, I am using contact form 7. Everything is working fine but only files attachments that i have been not receiving in email. If i am using local server its working absolutely fine and also sending files with email but not on the remote server. Have someone any idea what can be the problem is?

Regards,
Zain

[Resolved] if AMP – CF7 shows just E-Mail?

$
0
0

Replies: 1

Hi there,

actually there is no CF7-Form on my AMP`d Page. Maybe CF7 will support AMP resp. amp-fom later (any information about that?).
Do anyone have an idea, how to show just something like “Write us an E-Mail to info@…” instead of showing the non-amped CF7-Code?
Maybe some plaintext output in <div class=”screen-reader-response”></div>?
any hints?
regards
timo

number validation

$
0
0

Replies: 0

Hi,
how I can create a filter to confirmation of no field + as email example below. Number field is called [number* number-479]

add_filter( 'wpcf7_validate_email*', 'custom_email_confirmation_validation_filter', 20, 2 );

function custom_email_confirmation_validation_filter( $result, $tag ) {
    $tag = new WPCF7_Shortcode( $tag );

    if ( 'your-email-confirm' == $tag->name ) {
        $your_email = isset( $_POST['your-email'] ) ? trim( $_POST['your-email'] ) : '';
        $your_email_confirm = isset( $_POST['your-email-confirm'] ) ? trim( $_POST['your-email-confirm'] ) : '';

        if ( $your_email != $your_email_confirm ) {
            $result->invalidate( $tag, "Are you sure this is the correct address?" );
        }
    }

    return $result;
}

http://contactform7.com/2015/03/28/custom-validation/

see e.g. s12.postimg.org/ubsskr8i5/enfold_nr.gif

Hope you can help.

Regards pete,

  • This topic was modified 17 hours, 18 minutes ago by  2funky.

Iframe attributes are absolete

$
0
0

Replies: 3

The module recaptcha as a iframe that have some attributes that are obsolete according W3C.

Error: The frameborder attribute on the iframe element is obsolete.
Error: The scrolling attribute on the iframe element is obsolete.

Use CSS instead 🙂

Can you fix it on the next release.

Should be: style=”border:none; overflow:hidden;”

Thanks in advance

  • This topic was modified 16 hours, 20 minutes ago by  .
  • This topic was modified 16 hours, 20 minutes ago by  .
  • This topic was modified 16 hours, 17 minutes ago by  .
Viewing all 49016 articles
Browse latest View live


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