--- Mike Franks <[EMAIL PROTECTED]> wrote:

> I don't know of any way for a single form (the html <form></form>
> construct) to span pages. On page can have many forms, but no form can
> physically span pages.


Your technique is a good one and probably the most straightforward.  There are
other approaches which could be applied.  

For example all three part of the form could be placed in one PHP page.  The
form would submit to itself and you would collect the information and show the
next form.  You would need to save the POST inputs from each form in a SESSION
variable to preserve it between each reload.  When the final submit is
performed, then send the data.

A different approach is to make one big form with three <div> sections, each
with its own ID property.  You can use Javascript to adjust the CSS properties
from (display:none to display:block) to make one part of the form visible.  You
will have to hide the others, of course.  You can have buttons at the bottom of
the sub forms to take you to the next subform.  The last subform can have a
true submit button.

The second approach has the advantage of not requiring SESSION variables or
hidden INPUT tags.  It does require Javascript be turned on, of course.

James
_____


James D. Keeline
http://www.Keeline.com  http://www.Keeline.com/articles
http://Stratemeyer.org  http://www.Keeline.com/TSCollection

http://www.ITeachPHP.com -- Free Computer Classes: Linux, PHP, etc.
Summer Semester Begins Jun 20 -- New Classes Start Every Few Weeks.


------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hlsprck/M=362131.6882499.7825260.1510227/D=groups/S=1705005703:TM/Y=YAHOO/EXP=1123270961/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 

Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to