Jump to content

Multiple Forms Fetch Input Later On.


bladez

Recommended Posts

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

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.