Email area like print area

NickOg 29 Apr, 2015
Hi

Before I start cutting code - has anyone adapted Bob's print area code to send email instead? I sort of assume that it would be a quite straight forward adaption of the printarea.php code.
Bob - am I right in assuming the your EmailActions is not suitable for CF5? Or not?

Regards

Nick
GreyHead 29 Apr, 2015
Hi Nick,

No, my Email [GH] action is CFv4 only.

What exactly do you need to do here? You want to send an email from the front-end without submitting the form?

Bob
NickOg 29 Apr, 2015
Pity.
I use the print area to allow users to print a copy of their course booking. It would be very useful to use the same code to send a copy of the same booking to the user's own email address instead of printing it it.
Does that make sense?
Nick
GreyHead 29 Apr, 2015
Hi Nick,

Hmmm, you could try adding a button that does an Ajax submit to a form event with an Email action - you'd need to include the 'print' div in the submission. Not tested but I think it should work.

Bob

PS Good luck with the knee.
This topic is locked and no more replies can be posted.