Groups
Sign in
Groups
web2py-users
Conversations
Labels
About
Send feedback
Help
IS_EMPTY_OR not working for file upload
23 views
dal
form
upload
validation
Skip to first unread message
Nurendra Choudhary
unread,
Oct 24, 2014, 3:13:54 AM
10/24/14
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
I gave this validator.
requires=(IS_EMPTY_OR(IS_UPLOAD_FILENAME(extension='pdf')))
But when I submit the form I still get the error Enter a valid file name.
Please help me.
Massimo Di Pierro
unread,
Oct 24, 2014, 7:47:56 PM
10/24/14
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
Please open an issue. this should work.
Reply all
Reply to author
Forward
0 new messages