The Community forums are being phased out in favor of a new Slack group.
Add your email address below to get an invitation to join the community slack group
Progress details outside form
I have a multi-page form and would like to display some of the fields from previous pages, outside the form, on subsequent pages. The general idea is that as a user progresses through the form pages, some of that form information is displayed on a sidebar outside the form. What is the best approach to this?
December 8, 2017 at 11:41 am
[added the following because my comment was being prevented as spam]
Do I need to use JavaScript to manually pull the form values as they progress and display them on the sidebar? If so, is there a JavaScript event triggered each time the "next" button is clicked on a multi-page form? Thanks!
December 8, 2017 at 12:29 pm
Chad
you can do this using dynamic fields.
December 8, 2017 at 3:11 pm
Can you be a little more specific?
December 9, 2017 at 7:11 am
If you use your browser's built-in inspect tool to examine the Formidable generated source code as you move from page to page in a multipart form, the systems takes the fields from previous pages and stores the values as hidden fields on subsequent pages. These hidden field values can be used in calculations or can be displayed as text on another area of the form. I suppose you can even display them outside of the form in a sidebar, if you know how to search the DOM. It takes a little custom jQuery, but what you want to do is achievable.
December 9, 2017 at 11:27 am
In the help section, there is this subject:
Get values from selected entry#
You will see step by step how to pass data from one form to another.
I think you can display the data on the sidebar using a view inserted into the sidebar. I would play with that to see what works.
In my case, I use entries from several forms into other forms, and dropdown so my users can choose.
Good luck
December 10, 2017 at 12:20 pm
Seems like I'm getting mixed messages here.
I understand Victor's approach, and I can code my own JavaScript to pull the hidden field values and display them elsewhere.
I'm not sure I understand Lesley's approach since 1) I'm not pulling my values from one form to another and 2) I need to display the data outside any forms.
Also, still wondering if there's a Javascript event triggered when a user clicks on the 'next' button in a multi-page form.
Thanks!
Discussion closed.