6 Replies Latest reply on Mar 24, 2008 11:26 AM by EllieBnz

    Clearing Contents of a Form After Submission

    EllieBnz
      Hello, all. I apologize for this "stupid" question, but I've been away from coding for a while and just can't find a sample from my old work on how to fix this problem.

      I just built a form that works well, but I'd like to clear the contents when a visitor submits it so the next visitor will see a nice, empty form. I have put a "Clear Form" button with the "Submit" button on the page, but I'm concerned about protecting visitor's information and want their information deleted when they hit "Submit" and send their information to me in an email.

      I vaguely recall a piece of code you put in either the <body> or <form> tag and have tried several things I found in old files, but nothing is working.

      Thanks in advance for putting me on the right track.