Using new value of a different property in validation

2007-04-26 Thread Paul Spencer
I have two properties on a form. The first property is Boolean and the second property is list. If the first property, includeAllSignals, is false, then the second property, selectedSignals, is required. The validation of the second property fails when the first property goes from false to

Re: Using new value of a different property in validation

2007-04-26 Thread Mike Kienenberger
Paul, this should work, although I'd expect some issues with cross-validation. Ie, i'd put the checkbox in a subForm so you can toggle it even when the list is required. Immediate=true might be enough in this particular case depending on the rest of your page, though. You didn't really

Re: Using new value of a different property in validation

2007-04-26 Thread Paul Spencer
Mike, Adding immediate=true to the first property, includeAllSignals, worked :) As to what I am expecting: 1) Selecting includingAllSignals = false should display the list of selectedSignals and fail validation if nothing in the list is selected 2) Selecting includingAllSignals = true