Re: [web2py] Pass html in label of SQLFORM.factory Field without it by sanitized

2015-07-16 Thread Thomas Sitter
XML() worked perfectly (and good catch on 'recieve', I get that wrong every time :P) Thank you Massimo and Johann for the quick replies. On Thursday, 16 July 2015 04:00:21 UTC-4, Johann Spies wrote: > > Hello Thomas, > > It seems that the css for label anyhow uses a strong font so > would not

Re: [web2py] Pass html in label of SQLFORM.factory Field without it by sanitized

2015-07-16 Thread Johann Spies
Hello Thomas, It seems that the css for label anyhow uses a strong font so would not have any visible effect. This is just to illustrate how you can pass html in a form element: label=XML('I consent for to provide my contact information to ___. I confirm that my house DOES NOT have alum

[web2py] Pass html in label of SQLFORM.factory Field without it by sanitized

2015-07-15 Thread Thomas Sitter
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 ___. I confirm that my house DOES NOT have aluminium siding. *',