Thanks, this is really helpful. The first half of what you said I've got down. Except the documentation about merge tags, I had missed that, I'll look into it now and see what I've missed.
I had a feeling this might be a cause of some confusion... the parameter "image" won't actually be an image file. It is the specific label / parameter name of my dropdown field. The site will sell art work with various sizes and framing options, so image, doesn't apply to a filetype or field type, but a choice in a dropdown: IE, your "image" could be Mona Lisa, Sistine Chapel, American Gothic, etc. I'm not trying to actually pass upload field data or an actual image.
I know my explanations earlier weren't the clearest. I am going to set up a page to sell a particular painting. One of the ones I'm selling is called "Vilnius" The first form, called Choose Size, and allows customers to select the size they would like to purchase. On this same form will be a dropdown with a list of ALL the images I sell. I will use shortcodes to preselect which image it will be.
[gravityform id=25 name=ChooseSize field_values='image=vilnius']
This way, I can already determine which particular picture they are buying, they only can change the size. This allows me to create fewer forms as I won't need a form for each painting in each size.
This form will then redirect to another page for all pictures of that size, with a form called "Select a Frame". On this form, I have created another dropdown, visible only to admin, where I need to pass that "preselection" of the painting "Vilnius" from the first form, through the redirect, to this form.
I certainly don't expect anyone to write my code, you guys have already posted most of what I needed which is a heck of a lot more helpful than the forum for the other plugin I mentioned in this thread. I've been able to use what Chris pointed to, to make most of this work. My concern is that there has to be a step I'm screwing up or missing. Because after the redirect the url looks like it "should" work. It redirects exactly where I want it, and it shows the ?param_name=Field_name that I want, but the dropdown doesn't populate if I leave it empty, and it doesn't select the right item if I copy the exact same list. I'm jut hoping someone can see what it is I'm missing or if I'm expecting the wrong thing to happen...
Posted 10 years ago on Thursday October 13, 2011 | Permalink