Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

phpRiot.com:
Creating multi-step forms and wizards in PHP
Nov 30, 2005 @ 13:31:02

If you've ever wanted an easy, structured way to create a wizard-type form on your site (ie a multi-step form), then you might want to check out this new tutorial from phpRiot.com today.

There will be many situations when creating web forms, that either you cannot accept all data on one page, either because certain responses result in a different set of subsequent questions, or because you form is so long that you need to split it up into multiple pages.

This tutorial covers how to implement such forms using PHP. This will include covering the various issues that need to be taken into consideration, as well as a class to help build such forms. Finally, there will be real-world example of implementing a multi-page form using the class.

He shows you the creation process using his own "lightweight Wizard class" instead of a standby like PEAR's QuickForm for structural reasons. QuickForm works great for single-page forms, but trips up a bit when it comes to more than one. He talks about considerations you'll need to take, and provides the code for his "ZervWizard class"...

tagged: multi-step form wizard multi-step form wizard

Link:

phpRiot.com:
Creating multi-step forms and wizards in PHP
Nov 30, 2005 @ 13:31:02

If you've ever wanted an easy, structured way to create a wizard-type form on your site (ie a multi-step form), then you might want to check out this new tutorial from phpRiot.com today.

There will be many situations when creating web forms, that either you cannot accept all data on one page, either because certain responses result in a different set of subsequent questions, or because you form is so long that you need to split it up into multiple pages.

This tutorial covers how to implement such forms using PHP. This will include covering the various issues that need to be taken into consideration, as well as a class to help build such forms. Finally, there will be real-world example of implementing a multi-page form using the class.

He shows you the creation process using his own "lightweight Wizard class" instead of a standby like PEAR's QuickForm for structural reasons. QuickForm works great for single-page forms, but trips up a bit when it comes to more than one. He talks about considerations you'll need to take, and provides the code for his "ZervWizard class"...

tagged: multi-step form wizard multi-step form wizard

Link:


Trending Topics: