Preview Form Fields before syubmitting


This Discussion is public


I have a multi-page form. How do I show the preview of the data entered on the form before the user submits it?
Also would like an option to make changes to a field after the user reaches the preview, but before submitting.

You will need to use a multi-paged form with this hook ->

Thanks Bobby Clapp,

But where and how do I add this code?
Have good knowledge of html but very limited of php. Could you kindly elaborate or guide me to more resources.


This would go in your themes "functions.php" file (typically I see it added to the bottom). Pay attention to the lines that have "//change .... ". You will have to change form ID's and field ID's to match that of your forms.

Thanks Bobby for the update. Will try that out and see how it goes.

Hi there!

I was trying the suggestions with functions.php, but it only shows the entries of the first page, second and third fields are empty. Is there anything new we could use?

Best regards,


This is it. Play around with that "previous page" value.

Thanks for the quick reply.

I also have two checkboxes to accept the terms and conditions and some other things, which aren't at the bottom of the page now, anything I can do there to show them just before the submit button/below the summary?

I don't have experience with that. If you can provide a link that I can test live, I might be able to help.

Reply to this Discussion