Add entry in the Exclude Paths
- Go to configMgr.
- Search for Adobe Granite CSRF Filter.
- Add the following entry in the Excluded Paths section: /content/AemFormsSamples/handlehml5formsubmission.
- Save your changes.
Test the form
- Open the xdp template.
- Click on Preview->Preview as HTML.
- Enter data in the form and click submit.
- Check the server’s stdout.log file for the submitted data.
Additional Reading
For more information on generating PDFs from HTML5 form submissions, refer to this article.