You can override isRequired for any component.

**
Martin

2009/9/15 Phil Housley <undeconstruc...@gmail.com>:
> Hello,
>
> I'm currently working on a search interface, where the required-ness
> of some fields depends on the value of some other.  In particular, the
> form looks something like
>
> (+) search by X
> a: [_____]
> b: [_____]
>
> () search by Y
> ...
>
> () search by Z
> ...
>
> So the radio button selects a group of fields, in which any number may
> be required.  Each group of options is its own panel, and basically
> independent.  Is it possible for me to ignore protests from the fields
> in sections Y and Z, after reading the input from the radio button?
> Ideally I'd like to record the values from every field, and keep it
> around as raw input, but I don't want to know if it is missing or
> fails to convert/validate.
>
> Thanks for any help.
>
> --
> Phil Housley
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to