treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Question on a form

  • Hey,

    I am working on a form, using wufoo. My setup is: - someone is on a product page - they click purchase locally - they are taken to another page on my site with an embedded wufoo form.

    What I want to do is when they complete the form it grabs the product page they were on before clicking purchase locally.

    I am close but can not quite figure it out. I have the field on my form that I want the product link to populate, I just can not figure out the php script and where to put it.

    My site is a shopify store and my form looks like this: http://rbanks.wufoo.com/forms/we-are-going-to-find-you-the-best-local-retailer/

    Thanks for any and all help! I am new at this so I appreciate everything I can get.

    Thanks, Ryan

  • Couldn't you retrieve the url on the product page and store it in a hidden form variable and then spit it back out on the second page as a redirect / form action ?