How to Validate on button submit,
<ejs-uploader id="formFileCheque" autoUpload="false" multiple="false" allowedExtensions=".jpeg,.jpg,.png,.tif,.tiff,.bmp" maxFileSize="40000000"> </ejs-uploader>
<input id="btnSave" type="submit" value="Save" />