FORMs web2py migrations to py4web

121 views
Skip to first unread message

Rodrigo Attique

unread,
Apr 1, 2020, 6:20:38 PM4/1/20
to py4web
Hello.
In the p4w documentation there the exemple below:
form = Form([
        Field('product_name'),
        Field('product_quantity', 'integer')],
        formstyle=FormStyleBulma)


I can combine FORM with yalt helpers how in web2py FORM?

Scott Hunter

unread,
Apr 2, 2020, 8:37:15 AM4/2/20
to py4web
Can you provide some idea of what you are trying to accomplish?

Rodrigo Attique

unread,
Apr 3, 2020, 5:53:38 PM4/3/20
to py4web
I have a lot of web2py codes using the HTML FORM sample, that is, HTML forms that are validated that way. My idea is to make the portability for p4w as smooth as possible, without having to rewrite a lot. Portability w2p -> p4w: I think that would be a subject for a new ticket.
Reply all
Reply to author
Forward
0 new messages