Appearance
Client notifications
When forms4health is iframed into another application it will raise notification events to the parent window via postMessage. By listening to these events you can navigate away/close any modals after the user has finished with the form.
The following messages are available:
form-discarded
- Raised when the user clicks the discard buttonform-closed
- Raised when the user clicks the close buttonform-draft-saved
- Raised when the user clicks the save draft buttonform-submitted
- Raised when the user clicks the submit buttonform-keep-alive
- From 7.5.0 this is raised every 5 minutes if there has been any user interaction on the form