I'm new to Live Cycle Designer and trying to create a form where you can select a name of an image from a drop down list and that image will appear on the page to be printed. The images would vary in size if that matters.
I copy and pasted code using Microsoft Front Page and it works but not sure how to convert it to a .pdf. Maybe it isn't even possible as I'm wondering where the images would reside??
Here's my Front Page code:
<html>
<head>
<script type='text/javascript'>
window.onload=function(){
function setImage() {
var img = document.getElementById("image");
img.src = this.value;
return false;
}
document.getElementById("ImageList").onchange = setImage;
}
</script>
</head>
<body>
<select id="ImageList">
<option value="images/transimage.gif">Select Image</option>
<option value="images/image1.gif">
Image 1</option>
<option value="images/image2.jpg">
Image 2</option>
</select>
<p><img id="image" src="images/transimage.gif" /></p>
</body>
</html>
Thanks for any help.