[FX.php List] Break up a big form

Gjermund Gusland Thorsen ggt667 at gmail.com
Wed Jul 19 16:02:33 MDT 2006


after you have done your FMNew in CreateRecord.php

And it returns errorCode == 0

I believe you should do a

header( "Location: ./Form2.php" );
exit;

On 7/19/06, Jonathan Schwartz <jonathan at eschwartz.com> wrote:
> OK. Here I go, breaking up a large form into several pages.
>
> Form1.php calls CreateRecord.php through a submit button.
> CreateRecord creates the record...and now I need to call form2.php.
> (Previously, a review page was displayed, which handled the whole form).
>
> That's where I'm perplexed.
>
> Do I use an include(Form2.php) on the bottom of the CreateRecord.php
> page, just after the FMNew function?
>
> Or, do I open a Form2.php as a whole new page?  If so, I can't figure
> out which function does that, versus simply including on existing
> page.
>
> Sorry for basic question.
>
> Jonathan
>
>
> --
>
> Jonathan Schwartz
> Schwartz & Company
> 817 Marin Drive
> Mill Valley, CA 94941
> Phone: 415-381-1852
> jonathan at eschwartz.com - http://www.eschwartz.com
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>


More information about the FX.php_List mailing list