Invalid field attributes are causing the form to fail markup validation