Comment validation and confirmation of submit

Hi, Can you confirm where i would add my script for confirming that the user has submitted a comment for validation. Currently i don’t get any confirmation text.