File Upload And Image Preview On ChooseFile

With this component you can upload any file to the server without the need to use Submit links or buttons. This means you can use this on a page with server validations (and use ajax refreshes to show them) without the need of having 2 different buttons, one to save and one to upload the file. With this, the user only has to click once to save everything, and also you can do the validations to the file right then the user selects it, and not only when he clicks another button. Besides this, the component also can set a preview of the uploaded file (if it's an image) by JS when you upload.