Welcome, Guest
Username: Password: Remember me

TOPIC: Remove required on file input

Remove required on file input 19 Mar 2013 16:05 #6978

Hi,
i have a form that have several fields, among them a select box and a file field.

depending of the select value i want to make the file field compulsory or noy.
i already removed by using jquery the validate..required... etc class of the item form, so i have no error when i click on save form, but later on i receive a warning message saying that there is no file on the form.
How can i avoid or remove this second checking.

Thanks in advance
The administrator has disabled public write access.
Time to create page: 0.060 seconds

Get Started