Get Confirmation Message

Is there any other way to get a confirmation message on the screen other than using Submit Link or defining under submit button? 

  Discussion posts and replies are publicly visible