RE: Show reference number or id to user after any form submission from LR form

thumbnail
Nikhil Nishchal, modified 1 Year ago. Regular Member Posts: 179 Join Date: 6/22/12 Recent Posts

We can create forms using Liferay form and this form can be used for lead generation or user data collection.
In current scope of liferay form it only show success message to user after submitting the form.

The idea is that there should be some configuration based on that after submition of the form user can view some refrence numnber. These number can be used for further communitcation done by the user.
 

thumbnail
Russell Bohl, modified 1 Year ago. Expert Posts: 308 Join Date: 2/13/13 Recent Posts

Hi Nikhil, I think I'd do this using an Object, a Form Container, and a Display Page.

1. Create an Object

2. Create a Display Page for the object. There you can add a fragment with some text to say like "Your submission was successful. Here's the ID so you can track the submission:", then add another fragment mapped to whatever field holds the ID (or whatever number you want to show). Maybe also add a link like "Go Back to the Home Page" or whatever, up to you of course

3. Add a From Container to a page, mapped to your object

4. Configure the form container: make its success interaction Go to Entry Display Page, then choose your Display Page.