AnsweredAssumed Answered

How to Show Panel After Data is Submitted

Question asked by jocelynm on Mar 24, 2016
Latest reply on Mar 24, 2016 by jocelynm

Hello,

 

I am trying to replicate the behavior of changing Views in InfoPath. When a user clicks "Save and Submit" on a form, I would like to show a thank you page.

 

It looks like I can use javascript to hide/remove Panels, but I only want the thank you message to show if the data has been submitted. Looking at this page - How to Show Panel on Button Click - I can get the "Thank you" message to show up, but if the user doesn't fill out all of the required fields, it doesn't submit, and because the javascript is triggered on the button press, the "Thank you" message pops up anyway.

 

Would anyone know how I can get a Panel to show up only after data has been submitted?

Outcomes