bladez Posted June 21, 2008 Share Posted June 21, 2008 hi, currently i am doing something which deals with pdf ,php & html forms.. i would appreciate if someone can help me with my problem I would like to create a pdf at the end of the process. Well wat i would like to do is .. create multiple html forms... at the end of the form there will be a button to generate pdf.. so when it is clicked.. wat ever was the input starting from the first form till the last form will written in the pdf... so my question is how can i fetch the inputs from the first form till the last if every each time we go next it appear next form ? Link to comment https://forums.phpfreaks.com/topic/111217-multiple-forms-fetch-input-later-on/ Share on other sites More sharing options...
Barand Posted June 21, 2008 Share Posted June 21, 2008 There's a couple of techniques I use in this situation 1 ) Each form becomes a sub-form in its own DIV. After completing the subform and clicking next, that subform is hidden and the next revealed in its place. So the multiple forms are really one form and the whole lot submitted in one go at the end. (This makes it easy to go back to a previous one.) 2 ) Separate forms. Store the data from each in session variables or database as they are submitted. Link to comment https://forums.phpfreaks.com/topic/111217-multiple-forms-fetch-input-later-on/#findComment-570845 Share on other sites More sharing options...
bladez Posted June 21, 2008 Author Share Posted June 21, 2008 hi thx for the answer yea tat somewhat gv me the idea but can explain more for solution no.1? no.2 can be the backup idea Link to comment https://forums.phpfreaks.com/topic/111217-multiple-forms-fetch-input-later-on/#findComment-570906 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.