Form submission
Stratox Pilot supports automatic form submission handling through routers, a feature that must be explicitly enabled in the Dispatcher's configuration.
1. Enable Form Submission
To allow automatic catching and routing of form submissions, enable the catchForms
option in the Dispatcher configuration:
2. Define Routes
Next, define the routes that will handle form submissions. For example, to handle a POST request:
3. Implement Form Submission
Forms can use both GET and POST methods. Below is an example of a form designed to submit via POST:
With these settings, the dispatcher will automatically capture and route submissions to the corresponding handler if a matching route is found.
Have any questions
If there's anything unclear or you have further questions, feel free to reach out via email at daniel.ronkainen@wazabii.se.
Last updated