How to reproduce the problem and/or test the patch::
include an item in an xml form file that uses type="file" then generate the input tag using $form->getInput('fieldname'). The resultant <input> tag includes the 'value' attribute which is invalid for an input type of 'file' and causes an HTML compliance error.
title
HTML compliance error for input tags with type='file'
details
<input> tags with type='file' generated by JForm include a 'value' attribute which is invalid for this input type and causes an HTML compliance error.
I fixed the problem by removing the 'value=""' string from line 137 of libraries/joomla/form/fields/file.php
Can you paste the content from joomlacode here - as it will be closing soon
the link will break - thanks
On 12 March 2015 at 13:26, zero-24 notifications@github.com wrote:
Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/