Take a look at WPForms: https://wpforms.com
There is a plugin for WPForms which allows the PDF-Generation for E-Mails: https://ww.wp.xz.cn/plugins/pdf-builder-for-wpforms/
Also take a look here: https://wpforms.com/how-to-print-your-wordpress-form-submissions-to-pdf/
Hint: WordPress 5.9.3 is not fully compatible with PHP 8.0. Also much plugins do not support it. If you don’t find any errors in your project – good. If you do encounter problems, PHP 7.4 would be the better alternative at this time.
Hi thanks. I am not sure that satisfies all our requirements (auto creates PDF and attaches it to an email and sends and does not record into a database).
Can you tell me in what ways WordPress 5.9.3 is not compatible with PHP 8 is there moves to develop it so that it is? We were told to use the most recent version of wordpress and our host is using PHP 8 now. With what version of PHP is recommended as max for wordpress 5 9 3?
Does wpforms allow the user to complete a form and the results to be emailed to someone directly without any of the detail being saved into the database? Our IG team perceive this saving into a table as an extra data risk.
With WPForms you can define per form what should happen. Sending emails both to the person filling out the form and to a recipient at the website operator can be configured without any problems.
I am a bit surprised about the statement that saving in the database would be more risky than an email. The e-mail can be intercepted/read by anyone on the Internet, whereas a local database is not. In the EU, the storage in the database would be preferable because such form data always contain personal data. Really strange that I see the statement the other way around.
Saving the entries in the database can certainly be prevented (the free Lite version of WPForms, for example, generally does not do this), I just do not know the way to do this in the paid versions. If you have further questions about WPForms, please contact their support: https://ww.wp.xz.cn/support/plugin/wpforms-lite/ or if you have further questions about PDF generation, please contact the developer of the plugin mentioned above.
For WordPress compatibility with PHP you can find a matrix here: https://make.ww.wp.xz.cn/core/handbook/references/php-compatibility-and-wordpress-versions/ – the support for PHP 8 and newer is considered as beta because there can be notices or warnings in different places. In the WordPress-Trac of the core-developers you can look at which places are already being worked on: https://core.trac.ww.wp.xz.cn – if you find a place that has not yet been identified, you are welcome to open a ticket and point it out to the core-team.
My recommendation would be to use PHP 7.4 as most of the current plugins are compatible with it. Of course it is up to you to use PHP 8, but you should be aware that in case of errors with this PHP version there may be no other remedy than to use PHP 7.4 until updates of the affected plugins or WordPress are available.
Ok thanks. WPforms Lite seems like it might suffice although the hcaptcha is failing for some reason just now.