hello
i have
   Field('confirm_agreement', 'boolean',default=False,
requires=IS_NOT_EMPTY(error_message="Por favor aceite o acordo de
utilização"),label=A('Acordo de utilização', _href=URL('acordo')))

in my A helper i cannot add another paramenter like in bootstrap for
example
data-content="testing"

because "-" is not allowed

how to do A helper  with bootstrap?



2012/12/27 Anthony <[email protected]>

> Try:
>
> auth.settings.extra_fields['auth_user'] = [Field('confirm_agreement',
> 'boolean',
>
>     default=False, label=A('Accept Agreement', ...),
>     requires=IS_NOT_EMPTY(error_message='You must accept the agreement.'
> ))]
>
> Anthony
>
> On Thursday, December 27, 2012 9:49:57 AM UTC-5, Ramos wrote:
>
>> Ok, but if i add required=True does not mean that the check has to be
>> checked!
>>
>>
>>
>> 2012/12/27 Anthony <[email protected]>
>>
>> auth.settings.extra_fields['**auth_user'] = [Field('confirm_agreement',
>>> 'boolean',
>>>
>>>     default=False, label=A('Accept Agreement', ...))]
>>
>>
>>  --
>
>
>
>

-- 



Reply via email to