Prevent submit of empty value

19 views
Skip to first unread message

Maurice Waka

unread,
Apr 25, 2020, 1:14:05 AM4/25/20
to web2py-users
Hello.
I have this in one of my pages

{{=BEAUTIFY(request.vars)}}

Every time there is a reload esp. using LOAD () Helper I get a blank or none submit value on the page.
How can I prevent this on the html side?
Regards

Maurice Waka

unread,
Apr 25, 2020, 3:09:34 PM4/25/20
to web2py-users
I opted to use this option/iteration instead

{{=BEAUTIFY(request.vars.message if request.vars.message else 'loggin in...')}}

Kind of works for me
Reply all
Reply to author
Forward
0 new messages