Fix upload field +  function _validate_values fix