WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form
[resolved] Contact Form Display Different from Settings (7 posts)

  1. hirschid
    Member
    Posted 1 year ago #

    I have changed the settings for Contact Form to display the field Telephone, have marked Name, Email and Message as required, and have not checked 'Display send me a copy block.'

    However, when I check the contact page on my website it does not display the field Telephone, does not mark the required fields with an asterisk and it is displaying the 'send me a copy' block.

    It appears to be displaying the default values without regard to the settings I changed.

    Also, after sending an email I simply get the message "Your email was sent successfully" not the text I entered in my settings.

    http://dev.hirschi.us/contact/

    http://wordpress.org/extend/plugins/contact-form-plugin/

  2. plugger2
    Member
    Posted 1 year ago #

    I'm having exactly the same issues. I'm wondering whether another plug-in is causing a conflict? I'm using woocommerce, with the resort theme, and the jetpack is installed (although I've disabled the jetpack contact forms, but to no effect, AFAICT.)

  3. hirschid
    Member
    Posted 1 year ago #

    I installed this plugin on another server and on a site which does not use WooThemes and it worked. Maybe woo uses the same shortcode for its contact form and so the form you see is actually woo's contact form? I'll look into this more and post results.

  4. plugger2
    Member
    Posted 1 year ago #

    Sounds very plausible. I wonder if there is a simple way to change the shortcode for this plugin to, say, bws_contact_form. (It would be better branding, anyway.)

    Thanks for helping to track this one down.

  5. plugger2
    Member
    Posted 1 year ago #

    Actually, I just experimented with hacking the bws contact form to change the shortcode to [bws_contact_form], and yes, the conflict is now resolved -- it's working properly.

    I had to change the captcha.php as well to work with the hacked contact form plugin, but (hacked) captcha works with (hacked) contact-forms-plugin.

    What I did was pretty quick and dirty (mostly global search and replace). Perhaps the author might consider doing a proper fix to resolve the conflict?

  6. plugger2
    Member
    Posted 1 year ago #

    I've just cleaned my hacked version up a bit and now it plays nicely with a (non-hacked) version of BWS Captcha. I had to revert the filename and directory names as contact_form.php and contact-form-plugin respectively. (I had changed these to be bws_contact_form.php and bws-contact-form-plugin, but BWS Captcha couldn't find these without being modified itself.)

    All working quite nicely! Just tested the attachment feature, no problems.

    The only other custom modification I did was to prepend an identifying text string "[mydomain.com] " before the contact message subject string, so I can easily see it came from the contact form and site when it hits my inbox. This might also be a useful future option to be rolled into an official release (the prepend string is just hard-coded in the php file the way I've done it... have to redo it with every upgrade.)

    Anyway, it would be good to get the shortcode conflict with woocommerce resolved. [woo_contact_form] and [bws_contact_form] would be much better ideas all around.

  7. bestwebsoft
    Member
    Plugin Author

    Posted 1 year ago #

    Hello plugger2,

    Please provide a screenshot of setting page in admin area. But it seems that you chose another plugin.

    Kind regards,
    Support Team

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.