mautrung09 / jquery-multifile-plugin

Automatically exported from code.google.com/p/jquery-multifile-plugin
0 stars 0 forks source link

maxlength > 5 not working #176

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
!!!IMPORTANT!!!
If you're reporting an issue regarding issues uploading files, please check
the following:
1. Have you tried uploading a single file without using the plugin? Makes
sure this works before submitting a bug report
2. Make sure your form has method=POST and enctype=multipart/form-data
3. Are you using valid (x)HTML? Invalid markup can stop the form from being
submitted altogether
4. Are you using the correct element names as required/expected by your
server-side script?

OTHERWISE, please remove this message and complete the form below:

My problem is this. When I use a maxlength than 3 I read all the camps, 
although visually only spend two control works when I try to validate it on the 
server with PHP does not work only when I add fuciona me maxlength = 2 but when 
I use a higher maxlength not works

What version of the plugin/jQuery are you using?
PLUGIN VERSION:      jQuery Multiple File Upload Plugin v1.48 - 2013-02-19
JQUERY VERSION:     jquery-1.9.1.min.js 

On what browser(s) or operating system?
BROWSER(S): ALL

Please provide a link to where the problem can be observed:
URL:

Feel free to provide any additional information below.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript" src="scripts/jquery.js"></script>
<script type="text/javascript" src="scripts/jQuery.MultiFile.js"></script>

<input type="file" class="multi" accept="png|jpg" maxlength="5"  
name="pictures[]" id="pictures"/>

Original issue reported on code.google.com by diandr...@gmail.com on 24 Mar 2013 at 10:52

GoogleCodeExporter commented 9 years ago
Im afraid that requires server-side debugging and we cant help you with this 
issue.

Make sure your php code is using the roght variablr names.  Also check for any 
server limits.

Original comment by diego.a...@gmail.com on 25 Mar 2013 at 9:21