depage / depage-forms

depage-forms is PHP library for HTML form generation with focus on usability. It is part of the upcoming version of depage-cms, but it also works as a standalone library. By abstracting HTML, browser flaws (duplicate form submissions) and form validation, it provides a comfortable way to obtain reliable and validated data from users.
http://docs.depage.net/depage-forms/
22 stars 10 forks source link

Need support for data confirmation page #4

Closed bwl21 closed 11 years ago

bwl21 commented 11 years ago

We would like to have an intermediate page displaying the forms result and give the visitor the option to go back to the form or to confim the values for further processing.

It would be great if depage-forms supports this out of the box as part of the submission process.

bwl21 commented 11 years ago

We are now using steps for this. It basically works fine but yields a problem with the url:

Invocation of the form is done by an url like {server}/course/1234.html?form=10

Which yields our form #10 and prefills the form withi the course data. But process() stripts the query from the URL and adds ?step=1 to it.

We are currently patching htmlforms.php and plan to provide a pull request.

jonasjonas commented 11 years ago

I pulled your patched, so I close this issue. I will open another one to handle confirmations better.