How to make existing input fields required
Added by karim ouari over 11 years ago
Hello
I've got 1.3.3 version from ubuntu 1204 and I'd like make required the "upload files" field but I don't know how to .
Someone have an idea ?
Thanks
Have a good day.
Replies (2)
RE: How to make existing input fields required - Added by karim ouari over 11 years ago
I've just add " :required => true, " in redmine/app/views/attachments/_form.html.erb
<%= file_field_tag 'attachments[1][file]', :required => true, :size => 30, :id => nil, :class => 'file', ... ...
it's ok for all tracker but i d'like do it for only one tracker...
an other idea ?
Thanks
RE: How to make existing input fields required - Added by Jan Niggemann (redmine.org team member) over 11 years ago
karim ouari wrote:
I've got 1.3.3 version
Please update ASAP, your version is very old and has security issues: http://www.redmine.org/projects/redmine/wiki/Security_Advisories