fix the validation of the form in demo/tab.html