py4web Form customization

47 views
Skip to first unread message

Alex Beskopilny

unread,
Feb 12, 2020, 6:50:51 AM2/12/20
to web2py-users
is that possible?

similar to the web2py

{{=form.custom.begin}}
Name: <div>{{=form.custom.widget.name}}</div>
{{=form.custom.submit}}
{{=form.custom.end}}
------------
form.element('input[name=name]')['_id']='myid'
form.element('input[name=name]')['_class']='myclass'


Thanks
Alex
Reply all
Reply to author
Forward
0 new messages