Try > ?

comment= XML(A(IMG(_src=URL(...)), _href=URL(...))

-Thadeus





On Mon, Jan 11, 2010 at 9:13 PM, iiijjjiii <[email protected]> wrote:
> I have a form where one field requires a comment to explain what to
> enter. The explanation is quite lengthy so I'd rather replace it with
> a link or a "help"
> icon. I can't figure out a way to do this.
>
> Currently:
>
> form=form_factory(
>    db.Field('title',
>        default='default title',
>        comment='Explanation for what to enter into title that goes on
> and on and on',
>        ))
>
> Preferrably (this doesn't work):
>
> form=form_factory(
>    db.Field('title',
>        default='default title',
>        comment=URL(r=request,f='help'),
>        ))
>
> Has anyone come up with a creative way to handle this?
>
> Regards,
> Jim
>
> --
> You received this message because you are subscribed to the Google Groups 
> "web2py-users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/web2py?hl=en.
>
>
>
>
-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to