The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
File/photo upload validation/feedback - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: File/photo upload validation/feedback (/showthread.php?tid=3061) |
File/photo upload validation/feedback - jgold723 - Jun 4th, 2014 Version 2.2.6 We're having trouble with users who try to upload photos through an external form that are larger than the maximum file size that we set. The script doesn't offer any feedback in this situation, so their photo is not uploaded, but they have no idea that has happened. Is there a way for us to notify a user that their image is too large and won't be uploaded? RE: File/photo upload validation/feedback - Joe - Jun 4th, 2014 Hi John, You can implement Javascript to check the file size before it's uploaded and throw an alert if the size is too large. More details here: http://stackoverflow.com/questions/4234589/validation-of-file-extension-before-uploading-file Cheers, Joe RE: File/photo upload validation/feedback - jgold723 - Jun 4th, 2014 Thanks Joe! |