October 1, 2019 at 7:29 pm #764
Well i want to change the file names of uploaded files and i want to make the form not to upload the image until i press submit.
How to change the upload file other than 3?
Im using Three File Upload Form AJAX
Can you please help me to do that?
October 2, 2019 at 6:45 am #766
- This topic was modified 1 year, 2 months ago by nafseislam.
If you use AJAX mode – files will be uploaded to server right after you drop files to browser.
You can change limit for number of uploaded files by changing
data-count="3"parameter for file input field, or you can remove it to disable limit.
If you want to rename file – you need to modify ajax_upload.php file on line 19 (for chunked uploading method) or line 108 (AJAX Uploading method). You can set you own file renaming rules here.October 2, 2019 at 5:50 pm #768
Well thanks for your reply.
Is it possible to keep the same functionality but not to upload the files on browse or drop using chunked?
If not then please if you can provide me the code by any way where the file should not be uploaded but onclick only.October 2, 2019 at 5:50 pm #769
I have tried with the data-method=”normal” it works as i want, but if i have selected 2 files and i want to select one more so it will replace the other 2 and will show only 1 file. Why it is not behaving like ajax or chunked method where it keeps the all 3 and will give a message only that you cannot add more?
I want the same like chunked or ajax when we select the files it should show the delete button so if i have selected 3 files and i want to change 1 file it should delete the file and we can add a different file.
October 3, 2019 at 4:25 am #771
- This reply was modified 1 year, 2 months ago by nafseislam.
even i have noticed that once you selected 2 or anything it will give you a message only first time that you cannot select more than limit or watever and if you will select second time more than limit it will select those files.October 7, 2019 at 7:52 pm #775
any support hope on this?October 8, 2019 at 9:57 am #777
Sorry. seems like I miss your previous messages.
I will try to explain, how it works. When you use normal file uploading method – it uses default file input field. this field have security restrictions. You can’t modify or add files after you drag them to uploader first time. This is browser security restrictions, and I can’t pass them.October 9, 2019 at 4:59 am #778
No problem. thanks for your reply.
can you make this ajax form to be submitted on click?
October 11, 2019 at 1:17 pm #782
- This reply was modified 1 year, 1 month ago by nafseislam.
Ok, I will add this feature in one of the next updates.October 13, 2019 at 6:00 am #783
Thanks. I will wait for that.
You must be logged in to reply to this topic.