Multi-page Form
Plone
Sometimes Plone Forms can become very lengthy if too many questions are included. This is a method of creating Multi-Page Forms. It is a bit technical but worth sticking with.
The process include making a series of forms, in which the data is passed from one to the other.
- Add a folder in which all the forms will be stored.
- Add a Form Folder. In the Edit Form Folder give the Form a Short Name and Title as required. For the other options:
Submit Button Label: Next
Show Cancel Button: Deselected
Action Adapter: Deselect Mailer
Thanks Page: None
- Go to the next page, decorations, add the Prologue and Epilogue for the first page of your Form.
- Go to the next page, overrides. In the first section Custom Sucess Action write: traverse_to:string:form-short-name
Where 'form-short-name' is the Short Name of the second form you want to use as the second page of your Multi-page Form. This instruction tells the form when 'Next' button is selected forward all data from the current form to the next form (page 2).
-
This completes the set-up of the first form of your multi-page form, now add the required questions for the first page.
-
For the second form. Create a new Form.
-
Copy and paste all the questions from the previous form.
-
Then 'Edit' each question making sure it is 'Hidden'. This option is only available on Text and String Question. Therefore if you have copied Selection question, remake it as a text question, ensuring it has the same 'short-name'.
- Add the new question for the second form
- Repeat step 4 - 9 if you require further forms
- For the 'Thank-you' and 'Mailer' to work these have to be contained in the final form. They will contain all the details from all the forms as this data has been carried through in the 'Hidden' questions.
![[The University of Leicester]](unilogo.gif)


