Thanks for the very useful form class. One tweak, in the validation section i needed to change:
PHP Code:
if(is_array($filled) && in_array($name, $filled) && ($values[0] != 'file' && !strlen($_POST[$name])))
to
PHP Code:
if(is_array($filled) && in_array($name, $filled) && ($values[0] != 'file' && $values[0] != 'raw' && !strlen($_POST[$name])))
so adding - && $values[0] != 'raw'
this is in order to prevent 'raw' elements being counted as elements to be validated - thus preventing the form from being validated.