Extension of form handlers

6 views
Skip to first unread message

Anferney Grotestam

unread,
Nov 12, 2024, 10:16:23 AM11/12/24
to General WebHare developers discussion
In the "Send results by email" form handler, you have the option te write your own email of use a custom template.Screenshot 2024-11-12 at 15.47.57.png
This is an example of what one of these mail messages looks like.

What i'm currently trying to do is to render this mail messages as a pdf. The reason for this is that i'm trying to apply some styling to the mail that works better if rendered as a pdf. The idea is that this pdf is then sent as an attachment to this mail.

Is there any way we can accomplish this using this form handler? Or is there any other way we have to go about this?

Arnold Hendriks

unread,
Nov 12, 2024, 10:35:00 AM11/12/24
to General WebHare developers discussion, anfe...@nubium.nl
> Is there any way we can accomplish this using this form handler

They're not designed to be reused or extended that way. That would require the component to design, promise and test a stable API to do that, and while not technically impossible, it's not on our current roadmap. 

Unless you want to take up that 'challenge', the best way forward is probably just to take code from the existing implementations and build your own. 
Reply all
Reply to author
Forward
0 new messages