Posted: October 8, 2013 By: Comments: 12

Laravel 4 Multi/Single Ajax Upload :: Validation

Hi,

Here first post with laravel4 with love

Some Tips:
you can enable/disable upload function multiple:true, autoSubmit:false,showStatusAfterSuccess:false
smart validation check with/without upload
, otherwise submit form after check if is valid them upload the files
“preview_image” filed to get uploaded file name (maybe you need it)
set allowed types in ajax code and laravel code

HTML:

jQuery:

PHP:

Resources:
jQuery-Validation-Engine

jquery-upload-file

3135 Total Views 3 Views Today

Post Tags

,

Post Categories

Laravel, Website Development