WordPress.org

Ready to get started?Download WordPress

Forums

How do I clear a form after the user submits it? (3 posts)

  1. JuneM0
    Member
    Posted 5 years ago #

    Anybody. I'm sure you all have comments on your posts. How do these forms get cleared after the poster clicks submit?

    I checked the comment.php of several themes and none of those seem to handle clearing forms after submission. So it seems this is handled by wp. I can't find any info on it though.

    Thx.

  2. mugger
    Member
    Posted 4 years ago #

    Related problem. Form clears but submitter's name & email STAY.
    Makes a lie of "mail (will not be published) (required)"

  3. Mark / t31os
    Moderator
    Posted 4 years ago #

    It's the users browser history storing the information.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.