I have a form in ASP.NET
with its content divided into Bootstrap Tabs. However, some of these fields are required (Required) or are type="number"
and "email"
, if they do not agree, when sending the form will appear a message of HTML5
asking to fill the correct. However, as I'm working with tabs, I can only see the messages if I'm on the tab where it's being displayed.
Is there any way I can, through JavaScript
, open the corresponding tab when any of its fields are required or incorrectly filled in?