i want the visitor to fill out a form, and sign it. the generated email would include an image of the signature.
here's a canvas element that i can sign, and it gives me a data:image/png;base64 - but how can i attach that to the email i'm sending?
http://szimek.github.io/signature_pad/
would it be a custom snippet called "attachSignature" that takes that base64, turns it into a jpg or png, and then sets that as the attachment?
if i do this -
[[!FormIt?
&hooks=`spam,attachSignature,email,FormItSaveForm,redirect`
i'm not sure how to push the image from attachSignature into the actual email hook.
any ideas?