Re: Parforms: Send E-mail and enter data in DB - in about 3 steps
Philipp Stucki <[email protected]>
| Newsgroups | gmane.comp.cms.bitflux.general |
|---|---|
| Message-ID | <[email protected]> |
Adrian Nussbaum wrote: > Should it theoretically be possible that i can give the user-entered > values from one step to another (and they are checked at the end of > every step, too)? > How to do that? Multipage forms are not implemented in patForms. But there is cute and quick hack which you can use to pass certain values to a form using a GET request. (See [1]) Though we have never tried this it should be possible. After each step you would have to call a form handler which forwards all values to the next steps or saves them into a session. The last handler would finally store the values into the database. > What about saving the values to a db? You have to write your own form handler. There is a section on custom form handlers in docs [2]. In case you need an example of a form handler which stores values into a db, I could provide one from a client project. > another creative idea and question ;): > could it be possible to create something like a db-table-generator? I > (maybe noone needs this... maybe it's just me. it was just a little > thought ;-)...) That's well possible but there is no such script atm and there won't be very soon :) I just think it's not that hard to generate a table with all the fields you need. HTH philipp [1] http://wiki.bitflux.org/PatForms#Presetting_Field_Values [2] http://wiki.bitflux.org/PatForms#Custom_Form_Handlers -- philipp stucki . bitflux GmbH . schoeneggstrasse 5 . CH-8004 zurich [email protected] . phone +41 1 240 56 70 . fax +41 1 240 56 71 http://www.bitflux.ch -- bitflux-cms mailing list [email protected] http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms