I’m working on a contact form using the Email Module. I need to have custom error and success html show up after form submission. The documentation for the Email Module is a bit sparse on the subject.
Is there a way to do this?
e.g: (pseudocode)
{if form_has_errors}
Email is required.<br>
Message is required.
{/if form_has_errors}
{if form_submitted_successfuly}
Message successfully sent
{/if form_submitted_successfuly}
Thanks in advance.