Hi guys
One of my forms has many radio controls,
i see errors in Crome console on submitting the form. I think it had to do with radio controls settings but no idea what.
the form was not submitting at all, now i set all default value to the first empty option (so no value) at the form is submitting but still with the errors in the console.
Any ideas?
Uncaught TypeError: Cannot read property ‘type’ of undefined
at scAjaxGetFieldRadio (myform_form.php:2601)
at do_ajax_myform_form_submit_form (myform_form.php:6559)
at nm_atualiza (myform_form.php:11790)
at HTMLAnchorElement.onclick (myform_form.php:11964)
the part of code where it happens: (.type is red underscored)
function scAjaxGetFieldRadio(sFieldName)
{
if (“hidden” == document.F1.elements[sFieldName].type)
{
return scAjaxGetFieldHidden(sFieldName);
}