add regex to title and name field in form-check