Forums

Using a form variable as the SendTo email addess

mcwoodley 10 Sep, 2008
Hello,

I found this topic but what was suggested is not working for me.
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=2&t=7508&p=7508&hilit=email+php+variable#p7508
I am running Joomla 1.0.14 and using ChronoForms 2.3.9

All I am trying to do is get an email sent to that variable. I have entered this code per the other thread, but it prints part of the code out in my form. Is it different with this version or am I missing something?

In Form Code>On Submit code - after sending email:
<?php $_POST[$paramsvalues->extraemail]; // $_POST[$paramsvalues->emailfield] = "";unset($paramsvalues->emailfield);?>


Here is the form code:
<label>Customer Email Address:</label><input name="emailfield" type="text">
<br>
<label>SCID:</label><input name="SCID" type="text">
<br>
<label>Contract ID:</label><input name="ContractID" type="text">
<input name="Submit" type="submit" value="Submit">


Thanks in advance!
Max_admin 10 Sep, 2008
Hi,

just add emailfield in the "Email Field" Field in the special fields tab!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
mcwoodley 10 Sep, 2008
Thank you! I had some other errors that I figured out but that was the step I was missing.

I have it working like a charm, now I can work on the email template and getting it to output certain variables but I am on the right track now.

Great support and great component. I will be purchasing licenses for several sites in the very near future.

Are there any plans to make the ChronoForms 2.3.9 like the newest beta version for 1.5? I have a few sites that are quite expansive and would rely on legacy components that do not work on 1.5. Just wondering because the beta has a lot on nice features.

Thanks again!
Max_admin 11 Sep, 2008
Hi mcwoodley,

Thank you, I don't think I will be able to add all these features to the J1.0.x version, after finishing the current BETA and reaching to stable may be I will think about it again.

regards

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.