label = XML('I consent for ____ to provide my contact information to 
_______. <strong>I confirm that my house DOES NOT have aluminium siding. 
*</strong>')

or

label=SPAN('I consent for ____ to provide my contact information to 
_______. ', STRONG('I confirm that my house DOES NOT have aluminium siding. 
*')),


On Wednesday, 15 July 2015 22:09:14 UTC-5, Thomas Sitter wrote:
>
> Hello,
>
> I am trying to pass HTML from my controller in a SQLFORM.factory but it 
> keeps getting sanitized
>
> form = SQLFORM.factory(
> Field('install_consent', 'boolean', 
> label='I consent for ____ to provide my contact information to _______. 
> <strong>I confirm that my house DOES NOT have aluminium siding. *</strong>',
> requires=IS_NOT_EMPTY('You must provide consent in order to recieve the 
> equipment')
> )
> )
>
> Is there anyway to do this?
>
> Thanks for the help.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to