infernostudio Posted October 3, 2007 Share Posted October 3, 2007 I came across your php forum by searching on google and had a few questions. Hope someone is available to help ... This is what I am trying to do but have no idea where to start (I'm more of a designer then a programmer): I need a form to open in a pop-up window with the following fields as mandatory: 1. Name 2. Company 3. Position 4. Email On this form there will be a "continue" and "cancel" button. Cancel - closes window. Continue - Prompts new form on same pop-up window. New form (2nd page after someone clicks on continue): 1. Please describe the business requirement. 2. software modification (optional) On this form there will be a "submit another request" and "finish" button. Submit another request - Opens same page as New Form (2nd page) but will have new values. Finish - Will submit form by EMAIL and redirect to thank you page. I need the "submit another request" to create new form pages as many times as the user needs. Is this possible? I can't wrap my mind around this but I was told that I need to use loops / hidden fields, etc ... Any help would be greatly appreciated! Thanks, Denis R. Quote Link to comment Share on other sites More sharing options...
darkfreaks Posted October 3, 2007 Share Posted October 3, 2007 post this in the freelance forum and hit topic solved Quote Link to comment Share on other sites More sharing options...
infernostudio Posted October 3, 2007 Author Share Posted October 3, 2007 I'm just looking for knowledge, examples, guidance ... not to hire someone. Sorry ... Quote Link to comment Share on other sites More sharing options...
BlueSkyIS Posted October 3, 2007 Share Posted October 3, 2007 http://www.w3schools.com/php/php_forms.asp Quote Link to comment Share on other sites More sharing options...
infernostudio Posted October 3, 2007 Author Share Posted October 3, 2007 http://www.w3schools.com/php/php_forms.asp Hi, I took a look but there doesn't seem to be anything on creating multiple entry forms. Quote Link to comment Share on other sites More sharing options...
BlueSkyIS Posted October 3, 2007 Share Posted October 3, 2007 after the first form is complete, use header() to go to the second form, ala: header("location:form2.php"); exit; Quote Link to comment Share on other sites More sharing options...
infernostudio Posted October 3, 2007 Author Share Posted October 3, 2007 Do I need to implement any code in order to "save" the entries on the first form page so that it can go thru the next pages and finally be submitted at the end (Emailed)? Quote Link to comment Share on other sites More sharing options...
MmmVomit Posted October 3, 2007 Share Posted October 3, 2007 If you have multiple pages to a form, you can store the previously submitted data in $_SESSION. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.