PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

GET variable from URL and pass it via Query String

  1. Hi,

    My form opens with someting passed via Query String. Ex: http://mysite.com?price=10.00
    So i User a GET function. Now I want to use this $price to pass to the next page via Query String.

    In Confirmation, I choose Redirect and activated the pass via query string like this:
    ?name=[Your Name:30]&address=[Your Address:31]&finalPrice=<?php echo $price; ?>

    But it wont work. The $finalPrice goes blank.

    How can I do that?

    Thanks!!!

    Posted 12 years ago on Tuesday May 1, 2012 | Permalink
  2. Do you have an actual link to your form available?

    Posted 12 years ago on Tuesday May 1, 2012 | Permalink
  3. Since you are using query strings, why don't you just go ahead and dynamically populate form fields. Then you can use those form field merge tags in your confirmation. Are you familiar with dynamic population?

    Posted 12 years ago on Wednesday May 2, 2012 | Permalink
  4. Hey Rob, tks. I haven't tried yet. How can I do that?

    Best Regards

    Posted 12 years ago on Wednesday May 2, 2012 | Permalink
  5. Check this documentation out and let me know what you think or if you run into any issues:

    http://www.gravityhelp.com/documentation/page/Using_Dynamic_Population

    Posted 12 years ago on Wednesday May 2, 2012 | Permalink
  6. It Worked like a charm. Tks :)

    Posted 12 years ago on Wednesday May 2, 2012 | Permalink
  7. Awesome! Glad to help out.

    Posted 12 years ago on Wednesday May 2, 2012 | Permalink

This topic has been resolved and has been closed to new replies.