Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
20 replies
Subscribers
7 subscribers
Views
10532 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
How to retrieve the size of a file being uploaded using a!fileUploadField() sail
abhinavg
over 9 years ago
How to retrieve the size of a file being uploaded using a!fileUploadField() sail component on sail form and restricts the user to upload a file larger than a certain limit.
Is it correct that document(ri!file, "size") will work only when form is being submitted as document being uploaded is being saved on Appian DMS and not before if sail form is not being submitted
Attached a sail form snippet, need to capture the size being circle on form
Thanks !
OriginalPostID-141769
OriginalPostID-141769
Discussion posts and replies are publicly visible
Parents
0
Eduardo Fuentes
Appian Employee
over 9 years ago
Yes, this will generate an error message right after the user tries to upload the document without the need for submitting the form (see attached C:\\Users\\eduardo.fuentes\\Desktop\\max_file_size_exceeded.swf video where I set the maximum to 5MB).
This is a global setting that applies to other forms. That's the only available option that doesn't require you to submit the form.
max_file_size_exceeded.swf
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Eduardo Fuentes
Appian Employee
over 9 years ago
Yes, this will generate an error message right after the user tries to upload the document without the need for submitting the form (see attached C:\\Users\\eduardo.fuentes\\Desktop\\max_file_size_exceeded.swf video where I set the maximum to 5MB).
This is a global setting that applies to other forms. That's the only available option that doesn't require you to submit the form.
max_file_size_exceeded.swf
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data