Greeting,
I can not figure out how to add link to the Registration from next to the 
field. In my case next to terms and condition checkbox. 
Could you give me a clue on how to deal with it?

At the moment I have this:

db.py:
auth.settings.extra_fields['auth_user']= [
Field('Terms','boolean', requires=IS_NOT_EMPTY(error_message='you must 
agree with Terms&Conditioens'), label = 'Terms&Conditions', comment='Please 
agree with it')
]

I have tried:
1)add another field such as:
Field('myterms',represent=lambda id:SPAN(A('terms',_href=URL('index'))))
2)add representation to the Terms field: 
Field('Terms','boolean',represent=lambda 
id:SPAN(A('terms',_href=URL('index')))), 
requires=IS_NOT_EMPTY(error_message='you must agree with 
Terms&Conditioens'), label = 'Terms&Conditions', comment='Please agree with 
it')

Unfortunately none of these works. 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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to