Menu

Remember Form Data on Failed Submit

deejay
2004-05-25
2004-08-25
  • deejay

    deejay - 2004-05-25

    Hi All,
    What a great script! Saves loads of time - well done Musawir!

    Can anyone give me any details on how to save the form data, when it has failed!
    I really could do with a 'Correct Entry' button/link for the user to go back and correct the incorrect field, BUT ALSO to automatically fill in the fields!

    Its a real pain, when you have entered a long form, missed something, submitted it only to find you have to go back to an EMPTY Form!!

    It would also be nice to "highlight" the incorrect field!

    Any help would be greatfully recieved!
    Cheers
    Dave

     
    • Musawir Ali

      Musawir Ali - 2004-05-28

      well if you made a mistake, you can just press the back button on the browser and everything that you previously filled out should still be there. Atleast it stays there for me. Perhaps its a browser setting.

       
    • deejay

      deejay - 2004-05-31

      Hi Musawir,

      Thanks for the reply! Yes I can press the 'back' button - but it is not very professional and in my case it does not work - you have to re-enter all the information.
      Any idea? Does it need a session - Please don't forget I am a beginner!!
      all the best,
      Dave

       
    • C M

      C M - 2004-08-25

      Check the web for coding attached to a "back" button and add that to your form.

      That said, it is a web browser issue, and has been a known issue for years.

      netscape != mozzilla != internet explorer != opera

      They are all different. And one single page cannot possibly be optimized for all, including such problems as refreshing without clearing.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.