INPUT(....,hideerror=True)

On Feb 12, 6:33 pm, Bruce Wade <[email protected]> wrote:
> Hi,
>
> Is it possible to show a single error message for a group of radio buttons.
> See screen shot
>
> FORM(
>             FIELDSET(
>                 H4(self.T('Personal Questions')),
>                 UL(
>                     LI(
>                         H5(self.T('What is your Age?')),
>                         INPUT( _type='radio', _name='age', _value='1',
> _id='age1', requires = IS_NOT_EMPTY(error_message=self.T('missing your
> age'))),
>                         LABEL(SPAN(self.T('Less than 20')), _for='age1'),
>                         INPUT( _type='radio', _name='age',
> _value='2',_id='age2'),
>                         LABEL(SPAN(self.T('20-35')), _for='age2'),
>                         INPUT( _type='radio', _name='age', _value='3',
> _id='age3'),
>                         LABEL(SPAN(self.T('35-50')), _for='age3'),
>                         INPUT( _type='radio', _name='age', _value='4',
> _id='age4'), LABEL(SPAN(self.T('50-65')), _for='age4'),
>                         INPUT( _type='radio', _name='age', _value='5',
> _id='age5'), LABEL(SPAN(self.T('65 and never too old')), _for='age5'),
>                     ),
>                ),
>            )
> )
>
> --
> --
> Regards,
> Bruce 
> Wadehttp://ca.linkedin.com/in/brucelwadehttp://www.wadecybertech.comhttp://www.warplydesigned.comhttp://www.fitnessfriendsfinder.com
>
>  fit_errors.png
> 371KViewDownload

Reply via email to