- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi,
You seem to be using the checkboxes as mutually exclusive, ie the script sets the associated checkbox to zero/off. In that case I would used two radio buttons in an exclusion group. That way only one can be selected.
I suspect that having a similar set of Action Builder scripts in the Alarm2No checkbox would cause a conflict.
The advantage of the radio buttons, is that you can have one single script in the click event of the radio button exclusion group and this can control the presence of both circles.
For example the following in the click event of the radio button exclusion group, where Alarm2Yes has a value of 1 and Alarm2No has a value of 0:
if (this.rawValue == 1)
{
Circle3.presence = "visible";
Circle4.presence = "hidden";
}
else
{
Circle3.presence = "hidden";
Circle4.presence = "visible";
}
The one downside of radio buttons is that you need a script to allow the user to deselect a choice, unless you provide a third button "N/A.
See examples here: http://assure.ly/kp60nk and http://assure.ly/j1KdNq.
Hope that helps,
Niall
Views
Replies
Total Likes