Issue
- While using a form with multiple pages, the user has a requirement to save data to the database on the first page before moving to the second page.
Environment
- Liferay DXP 7.4
Resolution
- Multi-page forms do not have the functionality of saving the data to the database on each page, as there is an option to go back to the previous page, and submit button appears only on the last page.
- However, this requirement can be fulfilled by using multiple forms and setting their success page as the next form.
- Steps:
- Navigate to Forms.
- Click on the: ellipses button of the first form, click on share, and copy the link.
- Open the second form, go to its configuration, navigate to Personalization, and add the first form URL under "Redirect URL on Success"
- Result: Each form will be submitted (hence saved to DB) before navigating to the next form.
Subscriber Exclusive Content
A Liferay Enterprise Subscription provides access to over 1,500 articles that include best practices, troubleshooting, and other valuable solutions. Sign in for full access.
Sign In