thank you for pointing that out. In this form it works (I've forced id=999
for PluginMModal in user.html)
_onclick="jQuery('#999').fadeIn(); return false'
On Wednesday, August 8, 2012 2:00:10 PM UTC+2, Anthony wrote:
>
> auth.settings.extra_fields['auth_user']= [
>> Field('accept_privacy
>
> auth.settings.extra_fields['auth_user']= [
> Field('accept_privacy','boolean',default=False,label=DIV('click me!',
> _onclick='jQuery(#%s).fadeIn(); return false' % request.cid))]
>
I'm not sure about the details of pluginMModal or whether this is the only
problem, but the jQuery sele
After looking in the documentation and in the source (on how PluginMModal
calls jquery) I've tried this approach that still doesn't work yet (no
error messages) but maybe it's better to get suggestions (using the same
user.html below)
auth.settings.extra_fields['auth_user']= [
Field('acc
>
>
> Maybe show what you tried. I would think you could make either the field
> label or comment (the comment appears after the input field) a link, and
> trigger the modal dialog with an onclick attribute or a jQuery event
> handler.
>
> Anthony
>
ok,
in models/db.py I have put (but the link
>
> hi all, I would like to customize the register form so that an additional
> field would appear (a boolean) to let the new user accept the service
> conditions. I've tried to add the new extra field with
>
> auth.settings.extra_fields[]
>
> and it works. But the problem is how to present to
5 matches
Mail list logo