You can use comment for that purpose
Field(....,comment=A('help',_href='...'))
or you can do
Field('name',...)
db.table.name.help = 'custom attribute'
On Apr 19, 8:42 pm, niknok <[email protected]> wrote:
> I'm wondering if there's any way to implement a help system in the
> context of a field in conjunction with plugin_wiki.
>
> Conceptual use:
>
> Table('myTable',
> Field('myField', help='slug_to_help_page_sub-section')
> help='slug_to_help_page_section_index')
>
> In a form, the user will see a help icon beside the input field, which
> they can click to view a popup to display more information, and perhaps
> with additional link to the main help page for detailed information.
>
> If plugin_wiki is not installed, then "help" is ignored.
>
> Seems like a nice feature to add to web2py. What do you think? Has
> anyone customized w2p to do something like this?