[pdb_record] shortcode is used to show the frontend user an editable record. Normally, when this form is submitted, the user stays on the page and is shown a feedback message.
However, it is possible to send the user to another page when the form is submitted. This page can be used to acknowledge the submission or any other purpose, really. This is how to set that up:
You’ll need a separate page for your record edit thanks page. On that page goes the
[pdb_update_thanks] shortcode. Back on the record edit page, you need to add the name of your thanks page to the pdb_record shortcode like this:
So, we put the name of the thanks page (which in the case is “update-thanks”) in the “action” attribute. Now, when the record edit form is submitted, it will take them to that page.
Dynamic Content on the Thanks Page
You can include content on the thanks page that uses “value tags” to show values from the record. This is just like the “thanks message” that can be shown after someone used the signup form. In this case, the content isn’t in a setting, but is on the page itself, enclosed in the shortcode like this:
[pdb_update_thanks] Thank you, [first_name] for updating your information! [/pdb_update_thanks]
That message will only show just after the form is updated, and any record values that you want to include in the message can be placed using the value tags, as shown in the example.