Expand my Community achievements bar.

Display different images inside the same image field

Avatar

Level 1

Hi guys,

Currently we have a requirement in which we have to place an image and the image on click has to produce another image (a zoom in, for example).

Currently it is doing this using the code below:

Script - click event of the First Image button

var image = StaticImage1.value.image.value; newImage.rawValue = image;

Script - click event of the Second Image button

var image = StaticImage2.value.image.value; newImage.rawValue = image;

However when clicking the second image it will ask for an image to be loaded everytime!!

Is there a way around this image load event? We want the user to be able to click the second image without asking him to load a another image (no event on click).

P.S. Attached is how we did it, and you can see clearly how it asks for an image on click.

Thanks so much and best regards,

Fernando

1 Reply

Avatar

Level 8

You probably want to post this to either the Forms or the Designer forums.

The PDF Generator ES product converts other formats (Word, TIF, etc.) to PDF.  It doesn't run script or create interactive documents.