Ok 1st off thank you for all the help so far with this problem. 1st posted on Dynamic Drive scripts help in error.
Ok the code you have given me to use
<img src="image1.jpg" onclick="document.getElementById('imgcode').value='GSA01';"/>
<img src="image2.jpg" onclick="document.getElementById('imgcode').value='GSA02';"/>
<!-- ... more images ... -->
<form action="pagey.cgi">
<select id="imgcode">
<option value="GSA01">First image</option>
<option value="GSA02">Second image</option>
<!-- ... more options ... -->
</select>
</form>
1st Can i just clarify something for myself to get around my inherrent dumbness the image src="image1.jpg" I assume that should be the full src of the image so as example should read
<image src="../../Images/Dogs/Hounds/afghan 1.jpg" onclick="document.getElementById('imgcode').value='AFG01';"/>
Now, for my specific questions.
1.On the page where the form is found is it possible that when you select this particular selection box either by clicking in it or tabbing in from the previous box, that it will automatically take you to the page where people start to select the image from. There will be several pages of images for form fillers to navigate in order to make their final choice of image
2. Do i have to make the images dynamic in some way so they are clickable
3. There are lots of forms for the people to chose if they complete them or not including others that will use image selection, some from the same range of images; so how does the program determine which selection box in which form it needs to place the imgcode value or does some more code need to be added to the above.
Many many thanks for all your help



Reply With Quote

Bookmarks