3

I am using laravel 5.1

I want to create a progress bar based on how long the file takes to upload.

I have multiple input fields and want to upload / get a progress bar on my submit button.

What would be the best (or good) approach of doing this.

I basically have a form and already upload some file in the database.

But I do not know how to create a upload progressbar based on this.

2 Answers 2

3

I think the best way is to use a library like this one:

https://github.com/zimt28/laravel-jquery-file-upload

Sign up to request clarification or add additional context in comments.

Comments

1

I'd probably use something like Dropzone js

http://www.dropzonejs.com/

It would give you the added extra functionality of allowing you to drag and drop files into an upload area. Also allowing for multiple file uploads.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.