Hi there, I have the following question:

I created a node type called “car”. This node type shows different fields like car-brand, car-type etc and pictures. The node type is themed with contemplate.

At the bottom of the node there is a big button called “call me”. When the visitor hits the button, he will be directed to a form that I created with webform. When hitting the button some webform fields are prefilled with the car title and “I like you to call me about this car”.

What I like to show on the “call me” page is a picture of the car the visitor wanted to be called about. Is that possible, and how can I do that? I can send variables to the webform with the button url (%get[title]). But is it possible to send a variable when the visitor hits the button with the url of the image, so I can print it next to the form on the “call me” page.

Already thanks for your help.

Comments

mshepherd’s picture

I think you could format the link the call me page like so:
?node=callme&carID=1234

Where 1234 could be inserted on the fly by the car's page.

The carID could then be retrieved from the GET global? Something like that...

dotidentity’s picture

Cant i send the url of a image like this: ?image="path to image".
Anybody have a snippet for me that can help me?

dotidentity’s picture

I can now send the url of the image with the button
How can i print the image now with %get[image]

dotidentity’s picture

It works nog with $_get[]