WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. ckrizman
    Member
    Posted 10 months 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?

    http://wordpress.org/plugins/simple-basic-contact-form/

  2. Jeff Starr
    Member
    Plugin Author

    Posted 8 months 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
    Member
    Posted 4 months 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
    Member
    Posted 4 months ago #

    Hi,

    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?

    Regards,
    Nathan

  5. ckrizman
    Member
    Posted 3 months 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
    Member
    Posted 3 months ago #


  7. ckrizman
    Member
    Posted 3 months 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
    Member
    Posted 3 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.