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

  1. JuneM0
    Posted 7 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.


  2. mugger
    Posted 6 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

    Posted 6 years ago #

    It's the users browser history storing the information.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.