EasyUI Forum
May 16, 2024, 10:07:55 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Input type FILE validation  (Read 17097 times)
manojvijayan
Newbie
*
Posts: 13


View Profile Email
« 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
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 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.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!