I have on my registration form a custom code box in the "on submit" before the Joomla registration event with the following code:
<?php
$firstname = JRequest::getVar('firstname', '', 'post');
$lastname = JRequest::getVar('lastname', '', 'post');
$name = $firstname." ".$lastname;
JRequest::setVar('name', $name, 'post');
?>
It is giving an error asking for a name
Field names match so what an I doing wrong?
Thanks Gabe
<?php
$firstname = JRequest::getVar('firstname', '', 'post');
$lastname = JRequest::getVar('lastname', '', 'post');
$name = $firstname." ".$lastname;
JRequest::setVar('name', $name, 'post');
?>
It is giving an error asking for a name
Field names match so what an I doing wrong?
Thanks Gabe
This topic is locked and no more replies can be posted.