I have some FormItems that get shown/hidden depending on a checkbox. I would to add a RequiredIfValidator with a RequiredIfFunction that makes the item required only if the FormItem is shown. I tried using FormItem.isDrawn() and FormItem.getVisible() but those both return true when the item is hidden. Is there another method I should call?
Thanks!
Thanks!
Comment