In my previous version (joomla1.5) I had a code creating a email subject depending on several imputs
I tried several ways in the new V4 to add this code in "Load JS" event in "On Submit" but keep receiving empty email subjects
the code I used in the old version is:
<?php
$Sub1 = JRequest::getString('radio0', '', 'post');
$Sub2 = JRequest::getString('leeg', ' ', 'post');
$Sub3 = JRequest::getString('CompName', '', 'post');
$Sub4 = JRequest::getString('application', '', 'post');
JRequest::setVar('subject', 'eComNL ' .$Sub1 .$Sub2 .$Sub3);
?>
any ideas???
thanks in advance,
Jan
I tried several ways in the new V4 to add this code in "Load JS" event in "On Submit" but keep receiving empty email subjects
the code I used in the old version is:
<?php
$Sub1 = JRequest::getString('radio0', '', 'post');
$Sub2 = JRequest::getString('leeg', ' ', 'post');
$Sub3 = JRequest::getString('CompName', '', 'post');
$Sub4 = JRequest::getString('application', '', 'post');
JRequest::setVar('subject', 'eComNL ' .$Sub1 .$Sub2 .$Sub3);
?>
any ideas???
thanks in advance,
Jan