Form with Radio errors in console

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);

Hi, sorry for coming to an old post, but due to the lack of response from the forum there is a solution for this problem? If you could remember, of course.

It would be an immense help.

Thanks in advance.

1 Like

Hi Lucas, indeed, an old post, let us consider it solved.

1 Like