[Bug 884778] Fix html5 validation of advanced search.