Menu

how do i make the form go preview be4 send?

Help
s1982
2005-08-13
2013-06-03
  • s1982

    s1982 - 2005-08-13

    Is it possible to code the form in a way that users may preview the  info they inserted into our form,before they send to our email/database?

    is the way of doing that under the practise of 'form validation scripting' like jjorda tried to use? Can anyone help me with that?

     
    • TNTEverett

      TNTEverett - 2005-08-13

      Not terribly difficult.  Use the thankyou option when creating forms.  Rearrange the form1.html changing the submit button to "check" or something meaningful.  Then put the mail command into the thankyou page section, add a "back" and "submit" button to the thankyou page section and that should do it. 
      Feeling brave?  Go for it!

      I'm sure if you talk to the SW designer you will find that adding an infinite number of customization options to this generic form utiliy is beyond the scope of the original design intentions. 

       
    • s1982

      s1982 - 2005-08-14

      ok...thanks for your advice, tnteveret1. Though i think it might be beyond my level of  coding understanding.....Can i trouble you to explain it more of a mid level terms? so sorry to trouble you....

       
    • TNTEverett

      TNTEverett - 2005-08-14

      Simple example.  Files are all accessible for a limited time at http://www.tnteverett.com/forms/use/test4a/

      Note the now intermediate process.php file, and new process1.php file. 

      Use the form at
      http://www.tnteverett.com/forms/use/test4a/form1.html
      See the admin data file updates at
      http://www.tnteverett.com/forms/use/test4a/admin

      I tried to keep the modifications as simple as possible.  The original process.php file was renamed process1.php.  The top section of the original process.php file was removed.  The bottom thank you section of the original process.php file was modified to display the form results first before submitting them to the new process1.php file. 
      I could do the bulk of the mods for you if I had access to your process.php file. 
      Enjoy.

       
      • s1982

        s1982 - 2005-08-15

        Hey, Thanks again for your help! I tried copying what u did in your examples. however,i always seem to get an error page when i click submit on the form. I would really appreciate it if you can take a look at my form and help me with the modifications.

        http://www.dogitsg.com/phpform/use/ORDERLIST2/form1.html
        I have modified my form to what i want it to look...just need the 'check form' coding thing added in.

        http://www.dogitsg.com/phpform/use/ORDERLIST2/process.php
        As for my process.php , i just need to center the text. Add in the actual 'submit form' coding here.

        I can know basically how to edit the visual of html....but the coding and stuffs are always giving me problems.I really appreciate your help! Have i say thank you enough? (well i think u r my lifesaviour now,so dont think its enough)

         
    • TNTEverett

      TNTEverett - 2005-08-15

      You will have to send the process.php file to me in an email.  I will return to you a new form1.html file, a new process.php file, and an additional process1.php file. 

       
      • s1982

        s1982 - 2005-08-15

        ok...isend the email thru my yahoo mail to the add that always prompt me to messages on this board....it that the right one to send to?(noreply@sourceforge.net) Or should i send it to something else? Cos i dont believe that i can attach files to messages on this site right?

         
    • TNTEverett

      TNTEverett - 2005-08-15

      tnteveret1@users.sourceforge.net

       
    • Musawir Ali

      Musawir Ali - 2005-08-16

      TNT I see that you are quite active on the forums. If you are interested in joining the phpFormGenerator dev team I can add you in. This will basically allow you to submit new releases whicih may include bug fixes, feature enhancements, etc. Let me know (preferably here because I don't know where the hell musawir@users.sourceforge.net gets forwarded to).

       
    • TNTEverett

      TNTEverett - 2005-08-16

      Tell me more about the project.  I am interested.  Use the email tnteveret1@users.sourceforge.net
      to contact me. 

       
    • TNTEverett

      TNTEverett - 2005-08-16

      s1982,
      got the php file.  I should have something for you late today or tomorrow. 

       
    • TNTEverett

      TNTEverett - 2005-08-16

      I sent 3 files back to you.  Have you tried them yet?

       
    • s1982

      s1982 - 2005-08-16

      i tried...but no...still having problems....i can't upload the process1.php up onto  the server. Plus the process.php seem to revert to the original even when the 'upload was successful'

       
    • s1982

      s1982 - 2005-08-16

      I tried to go around that by creating a new folder n copy the form1,global.inc.php,process n process.php. i managed to go thru the form1 to the thank you page...until i press 'submit'. then this message was displayed.

      Fatal error: Call to undefined function: pt_register() in /home/dogitsg/public_html/phpform/order2/process1.php on line 5

       

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.