0

When the user submits a Powermail form how do you show the information that was entered on the redirected page?

By default it will reload the current page to show the entered info in place of the form. Because my form is in a popup modal I need to redirect to another page and show the submitted info there. Is this possible?

webman
  • 1,117
  • 15
  • 41
user500665
  • 1,220
  • 1
  • 12
  • 38

1 Answers1

1

If you redirect the powermail submit, you can't show the values again. Showing values is only possible without a redirect.

Alex Kellner
  • 1,263
  • 6
  • 11
  • So, if my only option is to reopen the popup modal after submit to show the info, what would be the best way, on load, to check if the form was just submitted? I could check if the .powermail_create div exists, but is there a better way than that? – user500665 Jan 18 '18 at 21:28
  • 2
    Just check if the GET or POST value tx_powermail_pi1[action]=create is set – Alex Kellner Jan 22 '18 at 11:09