[eluser]devbro[/eluser]
[quote author="GlennJ" date="1249498545"]I noticed a bug which stops checkboxes being validated.
This is my fix, showing top and bottom of the function
Code:
function _execute($row, $rules, $postdata = NULL, $cycles = 0)
{
if(isset($_FILES[$row['field']]['size']))
{// it is a file so process as a file
$postdata = $_FILES[$row['field']];
}
else
{
parent::_execute($row, $rules, $postdata,$cycles);
}
}
Seems to work ok so far...[/quote]
So you basically moved their order of if-statement.
Can you give me the html form that it did caused the code to break please.