Simple Basic Contact Form
[resolved] Do not want to display form data on contact page once submitted (8 posts)

  1. ckrizman
    Posted 2 years ago #

    Hi there! I love your plugin-simple and clean. There is something I would like to remove from it and I hope you can point me in the right direction. When a user fills out the form and submits it, the page is refreshed and shows my custom "thanks" message followed by a rather rough looking recap of the form data they submitted. I would like to only have my message show up and not the data recap. How do I edit the code to do this?


  2. Jeff Starr
    Plugin Author

    Posted 2 years ago #

    Hi ckrizman, I've went ahead and added an option to display only the message in the success message. In the latest version (20131106), visit the options and uncheck the setting for "Success Message" and you should be good to go. Thanks for the idea :)

  3. ckrizman
    Posted 2 years ago #

    Thanks-this does remove the name, email and other fields but it does not remove the message field. Also, it seems that this success message creates a new div "<div id="scf_success>" that does not remain the the same div as the form, pushing down all the data on the right side of my page. Is there any way to have this success info appear in the same area so it doesn't break the layout? Thanks!

  4. natedanielz
    Posted 2 years ago #


    This is also my question.

    In addition, when the 'short' version of the succes message is displayed, is it possible to just get the text 'Succes! Your message has been sent.' being displayed and not the message text?


  5. ckrizman
    Posted 2 years ago #

    I found a way to do this...Around line 267 of the simple-basic-contact-form.php file where it sets the results for $short_results, i removed the following:

    Message: '. $message .'
    <p class="scf_reset">[ Click here to reset the form ]</p>

    This removed the "message" recap and the reset the form message

  6. ckrizman
    Posted 2 years ago #

  7. ckrizman
    Posted 2 years ago #

    My post was reformatted, let's try again, i removed:
    <pre>Message: '. $message .'</pre><p class="scf_reset">[ <a href="'. $form .'">Click here to reset the form</a> ]</p>

  8. ckrizman
    Posted 2 years ago #

    also remove the pre and /pre tags around the maessage info

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Basic Contact Form
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.