Groups
Sign in
Groups
web2py-users
Conversations
Labels
About
Send feedback
Help
Best way to have form submit disabled until file selected
18 views
Skip to first unread message
António Ramos
unread,
Apr 10, 2022, 6:10:27 PM
4/10/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web...@googlegroups.com, py4web
Hello i have a form with a file to upload.
What is the best web2py way to have the submit button disabled until the user selects a file to upload?
Regards
António
Dave S
unread,
Apr 11, 2022, 3:58:45 AM
4/11/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web2py-users
I'd say javascript, since the "required" validator only works after the form is submitted.
/dps
Reply all
Reply to author
Forward
0 new messages