
Re: Feedback from a button callback method
Thanks for the tip (I wasn't using the iTunes plugin). I came up with the code attached below. This works for my needs, though, like you said, red would be nice. This also demonstrates the use of a textfield in visibleBindingId...
the plugin docs wrote:You can even bind it to the value in another text field, but that’s probably of limited use.
- Code: Select all
<Field id='msgControl' type='textfield' defaultValue='0' hidden='true'>
</Field>
<Field id="msgTestSuccess" type="label" visibleBindingId="msgControl" visibleBindingValue="1">
<Label>The ad2usb configuration was sucessfully read.</Label>
</Field>
<Field id="msgTestFail" type="label" visibleBindingId="msgControl" visibleBindingValue="2">
<Label>Unable to connect to the ad2usb. Verify the connection settings and try-again.</Label>
</Field>