I wasn't even thinking of which Add button this was until now. So yeah, as they already said, you can't reference the Add button or the cloned buttons from the Checkbox.
So, leave your checkbox as is, and don't put any special code in it.
What you'd probably have to do, is use a OnHoverIn code to show your fake Add button or not.
The code would look something like this:
OnHoverIn="Visible=(Parent.Parent.YourCheckBox.checked == true)"
That way if the checkbox wasn't checked, the fake button would hide, and the normal Add button would then be pressable. You'd have to put this "OnHoverIn" code directly on the FakeAdd button I'm thinkin though, so it would get copied through the whole template.
|