The No record was found.
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
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.
This was immensely useful. Thanks so much for posting it.
you’re welcome
Thank you for this, but it is not working for me, seems like a step is missing.
I created a new page called update-thanks
The only thing on that page is:
[pdb_update_thanks]
Thank you, [first_name] for updating your information!
[/pdb_update_thanks]
The only thing on the record edit page is:
[pdb_record target_page="update-thanks"]
The record pulls up, and edits, and then stays on the page with the “record updated” message like before. I am missing something simple in there.
Try it with the “action” attribute instead of the “target_page” attribute:
That did the trick!!
Thank you.