Forums

Email Verification and Email Template

antek.wysocki 21 Dec, 2010
Hello,

I need to say, that Chronoform is a great component.πŸ™‚ Thank you!

I tried to make a form and template email which will use php to generate text depend on which checkfield was chosen. And i did - it worked fine - like this:
<?php 
$var =JRequest::getVar('radio0', '', 'post');
switch ($var) {
case "Warsaw":
... ?>


When I wanted to add Email Verification it stopped working good...
Email Verification works great and there is still sending Email when Email Verification is completed, but then $_POST is empty, and I don't know how to generate email depend on value of field in the form...

Can anyone help me?
Thanks a lot.
Antek
GreyHead 22 Dec, 2010
Hi Antek,

If you want to delay sending the information until after the Email Verification is complete then you need to save the form data to a database table and then re-load it when you need to re-use it.

Bob
antek.wysocki 22 Dec, 2010
Hi,
thank You for quick reply.

I did it. It was very easy, but I had to learn a lot...

But the result is:
In the Verification Link {vlink} there is uid. I had to pass this variable form $_GET to $_POST and then it was available in Email Template TAB.

Easy, but it took me two days... it's lifeπŸ™‚

Antek
This topic is locked and no more replies can be posted.