Submission emits these events to hook in:
submit
- fired before submission is send to the URLsubmit-done
- fired when submission successfully returnedsubmit-error
- fired when a submission error occurredThis demo uses the 'strict' flag which brings up a stickly toast. Without the flag the error is only logged to console.