The required attribute only paints the asterisk -- it has nothing to do with
actually "requiring" input.  Nice huh?

Peace,
Scott

On Fri, Mar 13, 2009 at 4:14 PM, Griffith, Michael * <
michael.griff...@fda.hhs.gov> wrote:

> Hi all,
>
> I just noticed that the only required field validations that seem to be
> working in my form are text field validations.
>
> Any HTML tag that renders a list, check box or radio button doesn't
> validate, even though the template shows the field as required.
>
> In other words, this tag:
> <s:radio key="component.modified" name="modifiedFromSource"
> list="#{'Y':'Yes', 'N':'No'}" required="true" tabindex="7"/>
>
> Shows a radio button with the "*" required indicator, but the form is
> allowed to be submitted without a button selected, which of course
> breaks my request/response cycle...
>
> Do I need to do something special to make the required non-text inputs
> to behave as I expect?
>
> Any help is appreciated.
>
> Best Regards,
>
> MG
>
>

Reply via email to