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
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
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
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
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
This topic is locked and no more replies can be posted.
