Validate answers and handle filter in html format