Data not showing in email

Larion476 10 Jul, 2011
I am using CF 4.0.RC 1.9 on Joomla 1.5.23

I have 2 fields one a Textarea with HTML editor, and another one where I generate a random number with php. I ententered the code in the Field default value
<?php	mt_srand((double)microtime()*1000000); 		$random_number = mt_rand(100000, 999000); 		echo $random_number;  ?>


The textearea is formatted and the rodom number shows on the form but when I submit I only get the field names in the email like: {Menu} {See The Code}.

How can I get the info in the email
GreyHead 11 Jul, 2011
Hi Larion476,

The entries in the email template use the name attribute of the form input. The name is not the same as the label that you see by the box on the form; you can see what the name is by looking at the element configurations; the form HTML or the page source.

Bob
Larion476 11 Jul, 2011
Thanks Bob, Works fine now
This topic is locked and no more replies can be posted.