Hello,
The Form returns the response in JSON Format:
[ch_pre type="php"]echo '{ "alert": "success", "message": "Success Message!" }';[/ch_pre]
or this error message:
[ch_pre type="php"]echo '{ "alert": "error", "message": "Error Message!" }';[/ch_pre]
If the User submission is successful, show the success message and if the user submission has an error or there are any other issues, show the error message in the above format. This would make the default Form functionality included with Canvas work as expected.
Additionally, you can also consider using the .customjs Class on the .form-widget DIV to disable AJAX on the Forms to make any further tests.
Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.