The short version: is it possible for scripts to change the font color of regular buttons in a dynamic xml form?
The scenario: I've been working with a static PDF for some time now. It uses several buttons that change font color based on other values, to indicate their purpose to the user. (Note that everything works great with the static PDF, and that *just* changing fill or border color doesn't really fill the need in this case.) Unrelatedly, I wanted to add a feature that let users choose one of several images to display in a particular spot. After some research, I found that this is only possible after saving the file as an Adobe dynamic xml form, as it requires re-rendering. Fair enough. Trouble is, as soon as I swap over to a dynamic xml form, all the buttons no longer obey their font color changing scripts. Fill color seems to work, I get no errors, and the underlying values are indeed updating. The results just aren't visible.
(I'm using LiveCycle version 8.2, if it matters.)
Any thoughts would be greatly appreciated!
If you like to check a value of another form field for example, the best way is to put the script into the layout:ready event of the button.
radzmar
• LoveCycle Blog
Documents you need:
• LiveCycle Designer ES2 Docs