Pass image in Session Variable
I'm not using CSS Form Builder, but didn't know where else to put this Thread.
I am having a problem with knowing how to accomplish the following:
I have a Dreamweaver Form. In the form there is a color grid (Radio group with radio buttons). When I select a color (i.e. radio button), I pass the color choice to the next page using a Session Variable and therefore can display the text of the choice (i.e. Black) for the customer to confirm.
<td width="21" bgcolor="#000000"><p class="style4">
<input type="radio" name="BallColor" value="Black" id="Black" />
<td width="21" bgcolor="#BF202E"><span class="style6">
This is working Great.
The issue is that I ALSO want to pass an image (that I have stored in my server directory) for the same choice (i.e. Black.jpg) but I can't figure it out, so don't know if it's possible. I have to think I could enter some custom code to make it work, but I'm not a programmer, so don't know what to do.
Here's an example of what I tried (remember, I'm not a programmer) and obviously, it didn't work:
<input type="radio" AND "image"src="../Colors/formimages/Black.jpg" name="BallColor" value="Black" id="Black" />
I know a little about working with my database and recordsets and stuff, so maybe you'll recommend a solution using these tools?...
Any help would be greatly appreciated. My hair is starting to fall out : (