3 Replies Latest reply: Dec 19, 2011 5:13 PM by Tim Evers RSS

help with h:selectBooleanCheckbox and h:textArea validation

Jānis Anspaks Newbie

I got 1 h:selectBooleanCheckbox and h:textArea.
I want make this scenario: when checkbox is checked, then textArea must be filled (required - true), but if not checked, then it can be empty.
How can i make it? Stuck with this validation :(