This topic is locked

Multi-page Forms

2/14/2011 10:34:57 AM
PHPRunner General questions
R
rfairman@gmail.com author

Good morning;

I have set up my PHPRunner application with Master and Detail tables in my forms.
Currently I have the master table form with the detail tables below.
Right now its all on one page with the child/detail tables below the master table.
How can I start with a master table form, and using a NEXT button, save the record, go to another page and append to the master table record with details from the form.
Ie.

Add Car Table (master - cars)

Save/Next

Add Details for each car (detail - car details)

Save/Next

Add Drivers (can be multiple)
As well I need to have one owner to each car, but several drivers.

I don't know if this would be a new topic.
Thanks very much in advance;

Rhonda

Sergey Kornilov admin 2/14/2011

Rhonda,
you have two options here.

  1. PHPRunner allows you to add both master and details (multiple details tables) on the Add page.
  2. Another option is to use AfterAdd event and redirect user to details add page. You may want to have two separate buttons there like 'Save' and 'Save and

    add drivers'. A bit of coding might be required in this scenario.