Forums

specific form info in e-mail subject header

PuckerFactor 02 Mar, 2007
Hi, just like to say this is a great Form Extention, thanks for the hard work.

This question is based on ignorance on my end.

How would I use some of the form info results eg. motorbike model and year, to appear in the E-mail subject header?

It would be much easier for me to go through the e-mail subject headings rather than open each e-mail to get the info. With hundreds of submissions a month it can get tiring.

Please bare in mind I'm a dummy when it comes to html or javascript code.

regards.<br><br>Post edited by: PuckerFactor, at: 2007/03/02 04:50
wiredgeorge 02 Mar, 2007
Geesh, I was just going to ask the same question! Bwhahaha I will keep an eye on this thread I guess... hehe
Max_admin 06 Mar, 2007
Hi, Yes I got it, this will be in the next version which will be released very very soon, I dont want to set a specific deadline but hopefully in the next couple of days.

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
PuckerFactor 06 Mar, 2007
Wow, that's great to hear. I look forward to your next release!🙂
wiredgeorge 16 Mar, 2007
Max, about 10 days ago, you mentioned a release that would support pulling data from the form and plugging it into the subject or from lines in the email header. Any progress on this front? Thanks - wiredgeorge
wiredgeorge 16 Mar, 2007
Max, about 10 days ago, you mentioned a release that would support pulling data from the form and plugging it into the subject or from lines in the email header. Any progress on this front? Thanks - wiredgeorge
Max_admin 16 Mar, 2007
Hi,

And I fulfilled the oath, the v1.5 is out 4 days ago, take care you need to uninstall the old version then install the new one and this will delete ur old data so copy ur forms code somewhere🙂

Cheers,

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
PuckerFactor 16 Mar, 2007
Hi Max, your latest version (1.5) is fantastic!

It's a simple and powerful form component!

The e-mail header works as you said...thank you so much for your hard work!

PuckerFactor
Max_admin 17 Mar, 2007
Thank you PuckerFactor, did u observe the link at the bottom of the forms to my component ? and did u read how to hide it or completely remove it ? Iam getting cotacted that the link issue is not clear, is this the case with you too ? I'd like to know all users comments🙂

Thanks!!

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
oloynet 25 Mar, 2007
Hi,

Thanks for your great works.

I've enhanced the ability to put in the subject mail multiple vars replacement like :
"your subject with a var {var1} and another var {var2}"

Here the code to change in the file 'chronocontact.php' on line 174 :


if(trim($paramsvalues->subjectfield) != ""«»){
  $subject = $_POST[$paramsvalues->subjectfield];
}


by this code


$subject = stripslashes($paramsvalues->subjectfield);
preg_match_all ('/{(.*)}/U', $subject, $matches, PREG_PATTERN_ORDER);
foreach ($matches[1] as $match) {
  $subject = preg_replace('/{'.$match.'}/', (isset($_POST[$match]) ? $_POST[$match] : ''), $subject);
}


I'm newbie with ChronoForms, hope this could help

Regards,
Olivier
Max_admin 28 Mar, 2007
Great Olivier, thank you, I will test it again and include in the next verions of ChronoForms.🙂

Thanks,

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.