Description
This event trigger when validation of registration on user custom profile information.
@since 1.6
Params
- profile post data - array, consist of form post data
e.g.
{code}Array
(
[field2] => Male
[field3] => Array
(
[0] => 11
[1] => 2
[2] => 1979
)
[field4] => Nothing special
[field6] =>
[field7] =>
[field8] => 123, JLN 88
[field9] => Kepong
[field10] => KL
[field11] => Malaysia
[field14] => FTMS
[field15] => 1999
[submit] => Register
[task] => registerUpdateProfile
[authenticate] => 1
[authkey] => 9986fd99143c768e2683f6854aec44b8
){/code}
Return
- error message - array, consist of error messages
Examples
e.g.
{code}function onRegisterProfileValidate($post)
{
$err = array();
if(empty($post['authkey']))
{
$err[] = JText::_('Session Expired.');
}
.
.
.
return $err;
}{/code}