Hi,
I'm trying to dynamically change the subject of the generated email using the code in
http://www.chronoengine.com/forums.html?cont=posts&f=2&t=19331
Problem is that the subject (entered in tab "Setup emails") is not altered by the code.
This is my code in OnSubmit Before box:
(naam = input field name)
Normal or dynamic subject field in Setup emails makes no difference.
any suggestions?
I'm trying to dynamically change the subject of the generated email using the code in
http://www.chronoengine.com/forums.html?cont=posts&f=2&t=19331
Problem is that the subject (entered in tab "Setup emails") is not altered by the code.
This is my code in OnSubmit Before box:
<?php
$naam = JRequest::getString('naam', '', 'post');
JRequest::setVar('subject', $naam);
?>
(naam = input field name)
Normal or dynamic subject field in Setup emails makes no difference.
any suggestions?
This topic is locked and no more replies can be posted.