Menu

The form works, until I edit the HTML

Help
Tim
2005-09-08
2013-06-03
  • Tim

    Tim - 2005-09-08

    I've created a couple of forms that initially work fine. I have to edit the HTML to integrate them using the built in HTML editor into my site. I then rename them, but I don't move them.

    When I test the finished form I get an error message that one of the fields hasn't been filled in, even though it has. Any ideas?

     
    • TNTEverett

      TNTEverett - 2005-09-09

      So everything works until you rename the file?  All you do is rename?  This should not break anything.  I have done this myself with 100% success. 

       
    • Linda

      Linda - 2005-09-09

      Could you or your HTLM editor be changing case on any of the field  names? I mis-coded one of my forms when I integrated it into my site and turned an uppercase letter into a lowercase letter for one of the variable names.... it took me forever to figure out that problem. LOL!

      For example... When I set up the form I called one of the fields "FirstName" but when I set up the HTML I mistakenly typed in " input name="Firstname" " . When the form is processed it will produce an error because it's looking for a required field "FirstName" with an uppercase "N."

       
    • Tim

      Tim - 2005-09-09

      I think I may be editing the wrong file!
      phpFormGenerator creates 2 files with the same name. One file is in 'forms' and the other is in 'use' directories.

      I can't change the permissions on the 'use' directory, so have been editing the form in the forms directory.

      What directory contains the form in that you use ?

       
    • TNTEverett

      TNTEverett - 2005-09-09

      Don't edit the files in the forms directory.  The use directory is the place your created forms are placed. 

       

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.