On Sunday, April 10, 2022 at 3:10:27 PM UTC-7 Ramos wrote:

> 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
>

I'd say javascript, since the "required" validator only works after the 
form is submitted.

/dps
 

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/c408410a-efe6-4468-9153-1943e6644935n%40googlegroups.com.

Reply via email to