4/28/15

An invalid form control with name='' is not focusable

Solution

I was having problem "An invalid form control with name=' ' is not focusable."


This occured in Spring MVC project in which i was tring to use HTML5 form validation. I was using spring tags in my forms.On submitting such form in Chrome screen goes blank and you get this error in Chrome console.

I resolved this issue by removing css on form controls which are having display:none or similar attributes.