Hi, You can use the form model object in the visibility check - if it is "empty" then do whatever is needed.
Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Fri, Oct 16, 2015 at 3:57 PM, ChambreNoire <a...@tentelemed.com> wrote: > Hello, > > Is there any way to programmatically validate a wicket form on page/panel > load? I have a panel who's visibility is determined by its sibling form's > validity. That works fine except on initially loading the parent panel as > the new form is considered valid regardless of content... > > Many thanks, > > CN > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Validating-Forms-before-page-load-tp4672260.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >