Hello. Here is a complete solution without the use of a custom form.
auth.settings.extra_fields['auth_user']= [ Field('agree_terms_and_conditions','boolean', label=T('I agree to terms and conditions'),default=False,requires=IS_NOT_EMPTY(error_message=T('You must agree the term conditions')),comment=XML(A(T('Read the terms and conditions'), _href=(URL('default', 'terms_and_conditions')), _target= 'blank'))) ] Il giorno venerdì 30 marzo 2012 00:15:31 UTC+2, Hassan Alnatour ha scritto: > > Dear ALL, > > How can i make the user agree to some term using a check box before > registration ?? > -- 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.