I would like to use a value entered in one or two number entry fields to populate a specific area on a form with graphic images based upon those values? Any suggestions would be helpful.insert
This would ideally involve two 2-digit integer number fields that indicate the images desired.
The images are scaled to fit the desired space however I need to first determine if just one or both fields are populate with a value. Then if only one value is present, that designated image is inserted in the desired space on page two of the form and horizontally centered. If two values are present, then both images are placed side by side in the space on page two and horizontally centered.
Thanks for any input.
Images can alternatively be stored as document-level icons, but this is a bit more difficult to set up and manage, but it's a bit simpler to automate.
Before I trouble anyone too much I'll look into this and document-level icons.
You can use the buttonGetIcon field method to get an icon object that you can then assign to another button using the buttonSetIcon field method. Once you get it working with buttons as the source of the images, you can see if it's advantageous to use document icons as the image storage mechanism. You'd use the doc.getIcon method to get icon object that you can assign to buttons. You'd use the doc.addIcon or doc.importIcon methods to create document icons.
I am getting much closer to what I need with each cup of Java(Script).