WordPress.org

Ready to get started?Download WordPress

Forums

Participants Database
Single in the thank you page (3 posts)

  1. thierry.bonnechere
    Member
    Posted 2 months ago #

    Hi,

    The user enter some values in the pdb_signup and it is recorded.
    In the thank you page template I need to get some field value for other plugins.
    How can I do it ?

    I was thinking of getting the single in the thank you page but how can I do that ? I can got the pdb_list in the thank you page then put a link on a field to display the single on another page but it is not what I want as it requires some action from the user.

    https://wordpress.org/plugins/participants-database/

  2. xnau
    Member
    Plugin Author

    Posted 2 months ago #

    Of course, this is possible, but tricky, and not really something I can give you simple instructions for, I've never tried it. When you get to the thanks page, the record ID is only available as a PHP session value, so you should be able to use "do_shortcode" to pick up that session value and use it to tell the single shortcode which record to show. I can't give you the details without taking some time to see how that session value can be accessed.

    The "low tech" way to do this is to set up the thanks message so it shows all that values you want seen on the thanks page. All the values from the signup form will be available, so you can pretty much show the whole record if you want.

  3. thierry.bonnechere
    Member
    Posted 2 months ago #

    Thank you, I'll let you know what I do.

Reply

You must log in to post.

About this Plugin

About this Topic