dynamically changing mail subject ignored

freezer 06 Dec, 2010
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:
<?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?
GreyHead 06 Dec, 2010
Hi Freezer,

Please post a screenshot of the Email Setup tab settings.

Bob
This topic is locked and no more replies can be posted.