EasyUI Forum

General Category => General Discussion => Topic started by: manojvijayan on November 29, 2012, 04:43:03 AM



Title: Input type FILE validation
Post by: manojvijayan on November 29, 2012, 04:43:03 AM
How we can validate a input type file in a form.

I created a file type with following code
<input type="file" class="easyui-validatebox" required="true">

when try to submit the form,following error shows
$.data(_391, "validatebox") is undefined


Title: Re: Input type FILE validation
Post by: stworthy on November 29, 2012, 08:56:15 PM
That is no problem to apply 'easyui-validatebox' on a file input element. Please refer to the attached sample.