Page 1 of 1

FileUpload Process Bar for FileUpload in form

Posted: Tue Feb 27, 2024 10:49 am
by amir2314
hi again dear pablo .
how can i Show The FileUpload process During Uploading File with progressbar in my Form
is it possible ? is there any custome Code to Combine Them ?

Re: FileUpload Process Bar for FileUpload in form

Posted: Tue Feb 27, 2024 11:06 am
by Pablo
There is no standard option for this in HTML. This require scripting.

But these extensions may be useful:
https://www.wysiwygwebbuilder.com/dropzone.html
https://www.wysiwygwebbuilder.com/fileuploader.html

Re: FileUpload Process Bar for FileUpload in form

Posted: Tue Feb 27, 2024 11:10 am
by amir2314
Pablo wrote: Tue Feb 27, 2024 11:06 am There is no standard option for this in HTML. This require scripting.

But these extensions may be useful:
https://www.wysiwygwebbuilder.com/dropzone.html
https://www.wysiwygwebbuilder.com/fileuploader.html
i used them befor but there is a risky for security reasons . in file Upload form i notice that wwb file upload field automaticaly set prefix name from the begining of the file name . but in the scripts there is no security option like wwb file upload

Re: FileUpload Process Bar for FileUpload in form

Posted: Tue Feb 27, 2024 11:18 am
by Pablo
If you do not like the extensions then you will have to write your own script.

Re: FileUpload Process Bar for FileUpload in form

Posted: Tue Feb 27, 2024 12:00 pm
by wwonderfull
amir2314 wrote: Tue Feb 27, 2024 10:49 am hi again dear pablo .
how can i Show The FileUpload process During Uploading File with progressbar in my Form
is it possible ? is there any custome Code to Combine Them ?
I had done this for some one before but in a different way. But the file upload is more like an animation more then a real progress. When the form is submitted the page will take time to submit "That is the real time of progress for the attachment because the file is being sent to your web server's folder." And when the file gets totally uploaded to your folder then comes your success page.

But when people attach the file and see the progress animation before submitting form is just a delay progress animation just so the users think that they have uploaded something or they might attach 10 images in 1 second and be like I don't see 10 images inside that attachment input... Or might even thing it did not get attached at all!