validations for topics works in ajax&html.