we have a Contact Us form that is used for customer to enter questions/comments. Although the email is sent out there is no confirmation page that says something like "Your message has been sent". Is there anyway to add this?
thanks! Ahdee
Check there has any message object like this.
If not then added in your controller after sending message.
For success:
$this->messageManager->addSuccess( __('Your message has been sent') ); For error:
$this->messageManager->addError( __('We can\'t process your request right now. Sorry, that\'s all we know.') ); $this->_redirect('contactus');