Posted on by

Using a “thanks” page with the Record Edit shortcode

The [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 [

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.

5 thoughts on “Using a “thanks” page with the Record Edit shortcode

  1. This was immensely useful. Thanks so much for posting it.

    1. you’re welcome

  2. 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.

    1. Try it with the “action” attribute instead of the “target_page” attribute:

      [pdb_record action="update-thanks"]

    2. That did the trick!!

      Thank you.

Leave a Reply
You have to agree to the comment policy.

Would you like to be notified of followup comments via e-mail? You can also subscribe without commenting.

5 thoughts on “Using a “thanks” page with the Record Edit shortcode

  1. This was immensely useful. Thanks so much for posting it.

    1. you’re welcome

  2. 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.

    1. Try it with the “action” attribute instead of the “target_page” attribute:

      [pdb_record action="update-thanks"]

    2. That did the trick!!

      Thank you.

Leave a Reply
You have to agree to the comment policy.

Would you like to be notified of followup comments via e-mail? You can also subscribe without commenting.