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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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."
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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 ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
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.
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."
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 ?
Don't edit the files in the forms directory. The use directory is the place your created forms are placed.