Hi,
Thank you for creating this plugin!
I noticed a small bug:PHP Warning:? Undefined array key "cscf_nonce" in /var/www/html/wp-content/plugins/clean-and-simple-contact-form-by-meg-nicholas/class.cscf_contact.php on line 80
Specifically here:
//check nonce
if ( ! wp_verify_nonce( $_POST['cscf_nonce'], 'cscf_contact' ) ) {
return false;
}
I believe this could be fixed by checking if the $_POST[‘cscf_nounce’] is set first, ex:
// Check if 'cscf_nonce' is set and then verify nonce
if ( isset( $_POST['cscf_nonce'] ) && wp_verify_nonce( $_POST['cscf_nonce'], 'cscf_contact' ) ) {
// proceed with the form processing
} else {
return false;
}
Curious why the nonce is not set too.
Anyway, just wanted to mention in case you are aware of this already.
Hello,
Thanks for this amazing plugin.
After the recent update to 4.9, when I click on the ReCaptcha settings tab, I am redirected to the fullworks website.
If I am looking in the wrong place for the ReCaptcha setting, please let me know.
Thanks!
]]>No telling how long it has not worked. A prospective client called and told me its not working. The wordpress program is up to data, the plugins are all up to date. Email worked last time I tested in 5 or 6 months ago when I added captcha
When trying to send an email after hitting send this notice comes up. “Sorry, there has been a problem and your message was not sent.”
]]>
<div class="<?php echo ( true === cscf_PluginSettings::InputIcons() ) ? "input-group" : ""; ?>">
<?php if ( cscf_PluginSettings::InputIcons() == true ) { ?>
<span class="input-group-addon"><span class="glyphicon glyphicon-comment"></span></span>
<?php } ?>
<input <?php echo ( true == $contact->EmailToSender ) ? 'checked' : ''; ?> type="checkbox"
id="cscf_email-sender"
name="cscf[email-sender]">
</div>
Otuput:
<div class="">
<input type="checkbox" id="cscf_email-sender" name="cscf[email-sender]"></div>
This part is inside a div, then go in new line.
Atm i’ve just disabled via html comment, but need to be fixed.
<!--<div class="<?php echo ( true === cscf_PluginSettings::InputIcons() ) ? "input-group" : ""; ?>">-->
...
<!--</div>-->
]]>
Dear Alan,
First of all, I’d like to thank you for your plugin. It is simple and it simply works. Unfortunately, we encountered two errors that you could hopefully correct:
1) There are two different fonts in the Russian version: Ваше сообщение (in the Your Message field) has a font that is different from the default one used in other fields.
2) If the Your Message field left empty, the text that appears after pressing Submit contains 1 small mistake. It should be введите instead of введи (just like in other fields).
I hope you could correct these minor mistakes.
Kind regards, Serge
Hi there,
Our security plugin notified us that the Contact Form Clean and Simple plugin had some changes made. I noticed the plugin was updated 8 hours ago, but our auto updates are disabled, so just wondering how can this happen?
]]>Hello, is your plugin wordpress 6.3 tested? PHP 8.2?
Regards Rainer
]]>Greetings. I need a contact form that uses/sets no cookies at all. Does Contact Form Clean and Simple set any at all? And if it does, can one disable this?
And what happens if one activates or uses it with Akismet plugin as you suggest on your instruction site? Are any cookies being set in that case?
Thanks.
]]>Hello there.
Is there any chance, that in the very very near future, we will be able to use this simple and good plugin with Turnstile captcha?
Thank you.
Having contact form messages threaded in a Gmail or Workspace inbox is a nightmare. I suggest adding an option to prevent it through inserting a random References
header in class.cscf_contact.php, line 166:
"References: <" . uniqid() . "@" . $_SERVER['HTTP_HOST'] . ">\r\n"
Suggestion: when replying, have the To field populated with addressee’s name in addition to email address.
Line 114 in class.cscf._contact.php should read:
$header = "Content-Type: text/plain\r\nReply-To: " . $this->Name . " <" . $this->Email . ">\r\n";
]]>
Hi,
Could it be something changed since the update a month ago? I have seen a exponentional increase in spam messages through the contact forms.
Or is it something on my website I should change? I already have Google Recaptcha security on it.
Kind regards,
GWoman
]]>Hi– Is there any reason why CFCS should not be able to send emails to the same domain as the web page? I’m having issues and believe it is a messed up DNS but the ISP support says it might be the form – so I have to ask. Examlple: I use CSCF on https://www.example.com to send emails to [email protected] and [email protected]. The latter gets through fine, but the former never arrives and no error messages appear. Thanks in any case! –Pete
]]>Hello,
Is it possible to add additional message validation to the form?
I want the form to throw an error if the message contains a URL. For my other sites, which use contact form 7, it uses the ‘Disallowed Comment Keys’ field in the Discussion settings of WordPress and for sites using gravity forms I have used a filter to hook into field validation as shown below.
Is it possible to do something similar with this form plugin?
Thanks
Jo
Gravity forms validation:
// add custom validation to form
add_filter( 'gform_field_validation_1_4', 'validate_1_4', 10, 4 );
function validate_1_4( $result, $value, $form, $field ) {
$nourl_pattern = '(===|http|https|www)';
if ( preg_match( $nourl_pattern, $value ) ) {
$result['is_valid'] = false;
$result['message'] = 'Message can not contain special characters or website addresses.';
}
return $result;
}
]]>
Hey Alan,
this feature has been requested many times: Please add an optional field for a phone number to the contact form. A lot of clients have asked me for such an input field over the years, because it would massively improve their workflow, if visitors could be asked to provide their phone number right away.
Since the phone number is not relevant for all users of the plugin, such an input field should be optional. And if you are very ambitious, please add a second option to make the phone number mandatory (if enabled).
Something like:
[x] Show input field for phone number (yes/no)
[x] Phone number is mandatory (yes/no)
I’m sure that many users would appreciate such an addition.
Best regards,
Bernd
When the reCAPTCHA option is enabled, the contact form will show the following message, if the form is submitted without solving the captcha first:
> Please solve the recaptcha to continue.
A German translation for that message (cscf_recaptcha
) is missing.
The other validation messages are translated correctly.
A suitable German translation is:
> Bitte l?sen Sie das reCAPTCHA um fortzufahren.
]]>Hey Alan,
the consent message feature was introduced a couple of year ago for GDPR compliance. If you disable the options, they will not be included in the contact form, just as expected.
The consent message is, however, always present in the email template that is sent to the site’s owner. It would be neat, if the message would not be included in the email at all, if the admin decided to disable the feature altogether.
GDPR compliance is not as relevant internationally, as it is within the European Union.
Thanks!
Bernd
]]>Hey Alan,
one of your last updates altered the line breaks in the email that is sent to the site owner. You replaced the \n\n
by \r\n
, which will brake the layout of the emails. There were empty lines between the different sections of the email that are now missing.
Multiple clients have already brought that to my attention. I would appreciate, if the previous layout could be restored.
And another minor issue: A blank space is missing between the label “E-Mail:” and the sender’s email address in the template.
Thank you.
Bernd
]]>Hey Alan,
there is an issue with the version number on the plugins’s settings page:
“You are using version4.7.2”
The blank space went missing with one of your last updates and the version number is not correct. I’m on version 4.7.5, but the page still displays 4.7.2.
And while you are at it, please also remove the red labels *New* from the two consent settings. They have been there for years now, those features are no longer new.
Thanks!
Bernd
]]>Hi there,
I’ve just updated to the latest version of 4.7.2 and it no longer works. I’ve tried sending some test emails and it just says “Sorry, there has been a problem and your message was not sent.”
Any help to resolve this would be great. Thanks.
]]>I have decided to fork this permanently closed plugin and just working through some issues to bring it up to the current plugin standards to get it approved. Hopefully it will be back soon.
]]>Hi there,
Is this plugin still safe to use? It hasn’t been updated for over a year, any plans to update? Thanks so much.
]]>Hello,
I′m using your plugin. I like it!
Have you planned to update the plugin to WordPress 5.5.1?
When?
Regards
Rainer
https://www.augsburg-webdesign.com
Hi, I just installed and tested your contact plugin. It works great, and sent within 2-3 seconds..
But, where is the SUBJECT BOX? It’s in the admin/settings.. It’s NOT showing on the actual form (front-end)?
Please advice how to get the SUBJECT BOX going…
Thanks,
Hello.
I would need a field for the phone number.
Is this possible with PHP code?
Greeting Maddoc
]]>Hi,
the error message for the consent checkbox is not translated into german, if german is selected as language.
It appears: “Please give your consent.”
Better: “Ihr Einverständnis ist erforderlich.”
Can you change this in the next version, thanks.
]]>Hi Meg:
I love your plugin, just a couple of things:
The “role” is unnecessary for element form: <form role=”form”>
Attribute “for” not allowed on span elements: <span for=”cscf_name”> <span for=”cscf_email”>
Thank you!
Daniel.
]]>Hi Meg,
Anyone trying to send an email through my contact form is receiving the message “Please solve the Recaptcha to continue” even when it has been solved, and no messages can be sent to me. I’ve had multiple people report this issue and it happens when I test it myself. Could you help me solve the issue?
Thanks so much!
]]>hi to everybody
anyone can suggest me how to change the font displayed,
I’ve searched but didn’t find the way
thank you su much
Hi there
Some reports of the Recaptcha not working have been received, when hitting the Submit button, an error message “Please solve the recaptcha to continue.” appears. Although all seems well in the admin area, looking at the settings in my Google account, it says that “We detected that your site isn’t verifying reCAPTCHA solutions. This is required for the proper use of reCAPTCHA on your site. Please see our developer site for more information.” It links to this page https://developers.google.com/recaptcha/docs/verify#api-request, but there is no way that I can see of dealing with this in the plugin settings. Can you help please?
For the time being I have had to remove the Recaptcha from the page so that users can submit messages.
Thanks
]]>