How to retain custom field values to another page? (2 posts)

  1. Chris Demetriad
    Posted 3 years ago #

    I am going to use a shortcode to insert a PayPal button on a page and set a price and a name for that service and the PayPal button will read these values, this is working.

    However, I would like to take the user to another page instead of just showing the PayPal button, to a new one, where I will show a form and the user will have to fill that up, and after pressing Submit I will show him the PayPal button but of course, with the custom fields values of the page he came from (as the PayPal button uses the values from there).

    How would I do this? Thanks.

  2. Chris Demetriad
    Posted 3 years ago #

    Erm, should I use a form and pass the values in a hidden field through $_POST to the page with the form? Would this work?

Topic Closed

This topic has been closed to new replies.

About this Topic