Menu

Form validation script

Help
2005-07-22
2013-06-03
  • Janel Jorda

    Janel Jorda - 2005-07-22

    When a user fills out my form on IE and leaves a field blank - he's sent to the process.php form where it tells him he's left a required field blank - go back. The user hits the back button on IE and all of his data is gone that he typed in.

    I tried to incorporate a form validation javascript into my form but I can't get it to work - I think because phpformgenerator does its own validtion.

    Can anyone help me with this?

    thanks,
    Janel

     
    • TNTEverett

      TNTEverett - 2005-07-22

      Form validation does occur in process.php, you can edit and disable this if you want but it would probably be better to just incorporate your additions to the validations in the process.php file. 
      My forms on IE, valid or not, do retain entry data when using the back button. 

       
      • Janel Jorda

        Janel Jorda - 2005-07-22

        thanks for the reply...could you give me an idea of why another user on IE would loose their information when hitting the back button?
        thanks again

         
    • TNTEverett

      TNTEverett - 2005-07-22

      No clue.  Try it yourself to see what you get.  If I think of anything I'll come back and post it.

       

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.