Add HTML5 validation on navbar form