Menu

How do I revise a form

Help
2007-02-19
2013-06-03
  • Darryl van der Usa

    I have created a form (http://www.hvit-llc.com/requestinfo/use/Cutoff_RFI/form1.html) and I need to revise it to change a few check boxes to radio buttons.  How can I do that?  It would seem that in index.php, since we already  have a 'delete' option for each form, we should also have a 'revise' option for each form. 

     
    • TNTEverett

      TNTEverett - 2007-02-19

      Automatically revising a form is not as simple as it sounds.  Because this is not a feature of the current form generator, revising the form is up to the user.  You can always start from scratch to recreate the form, but if you know a little bit about html, forms, and php programming it's not a terribly difficult task. 
      Take a look at this page:
      http://www.w3schools.com/html/html_forms.asp

      Find the check box and radio button examples and you will see that they can easily be converted from one to the other. 

       
      • Darryl van der Usa

        Thank you, this worked beautifully.  I revised the form using the html code. 

        http://www.hvit-llc.com/requestinfo/use/Cutoff_RFI/form1.html

        Regards,

        M'dijk

         
      • Darryl van der Usa

        HI,

        I made the change and it appeared on my form on the website, but when I filled out the form and submitted it, I noticed the changes I made in the html code in dweaver, did not show up.  Every thing I did in the original form was there, just not the changes I made in dweaver. 

        http://www.hvit-llc.com/requestinfo/use/Cutoff_RFI/form1.html

        Any ideas as to why this would happen?  It would pretty much suck if I had to redo this form in phpFormGenerator.

         
      • Darryl van der Usa

        Do I also have to revise the process.php file in something like dweaver if I revise the form1.html file in dweaver.

         
        • TNTEverett

          TNTEverett - 2007-02-20

          It depends on the changes you make.  A form (like the form1.html code) is nothing more than a method to capture some user data and send it to a form data processor.  So your form captures what data?  Does the number of data entries, and their variable names, from the form match those expected by the form processor (process.php)? 
          If you have done nothing more than rearrange the look and feel of the form then no changes are required to the process.php file.  If you have added/subtracted fields, or changed the format of the fields, then you must also change the process.php file. 

           
          • Darryl van der Usa

            I changed the process.php file and I am pretty happy right now. I have to add a template to it so it will appear more friendly to the potential customer. Now, however, I have a new problem.  The email that I receive has info from the old process.php file and does not show the changes I've made to form1.html and process.php.  Any idea where I should go to find the content for the email so it will accurately reflect the information entered?

            One step at a time, huh?

             
            • TNTEverett

              TNTEverett - 2007-02-20

              The email is generated from the process.php file.  So either you did not load the new file to the site, or the site is calling an old version in a different location, or you did not modify the message section to reflect the other changes. 

               
              • Darryl van der Usa

                Hi,

                Don't I feel like an idiot. It was door number 3 - I never scrolled up to see that portion.  I am correcting it now.

                Best regards,

                M'dijk

                 
                • Darryl van der Usa

                  TNT Everet,

                  Check it out - I created my first form, placed it on a page of my website (with all of the links working), have a formatted Thank You page and I get my email in good form.  Now all I have to worry about is whether the database is working okay.

                  Yippeeeee

                   
                  • TNTEverett

                    TNTEverett - 2007-02-20

                    Where would you be without phpFormGenerator?  Despite it's shortcomings in documentation it is a great tool. 

                     
                    • Darryl van der Usa

                      Yeah, we are going to have to find a way to work on the documentation.

                      The value of every subject is in the knowledge of the subject.  For example, a company's most valuable asset is its knowledge of its customers, its products, and its processes.  While companies often like to say, "our employees are our most valuable asset." the truth is that if I place a man and a machine side by side to have them produce a product, the machine will do it faster and create a better product - the advantage the human brings to that scenario is that he or she can produce and build on knowledge.  They add to the human capital of a company. 

                      And documentation is the management of that knowledge.

                       
              • Darryl van der Usa

                I think it is better to recreate the form than to revise it through html/php editors. I have made so many changes and still I find places where the format for the old form shows up.  And now I have made a change that is stopping the form from filling out the table in my database. 

                 

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.