function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Creating multiple records in a wizard

Hi, I am trying to create a multipe stage wizard that creates a master record and related child records as well as non child records. The scenario I cannot work out is that depending on the input in the wizard's 1st page would like to control the number of occurences for the next page. eg. in the first page we enter detail of an aircraft and in that we set number of engines to 2 or 3, so according ot the number of engines we would like the input wizard page for the engine to repeat 2 or 3 accordingly. Any ideas and workouts for this will be highly appreciated

Thanks in advance
Create the pages that share same Controller so that you can use one page's variables in another.For more infromation, you can check check out Chapter 5—Building Wizards With Visualforce in It deals with same usecase as yours