Contents
Description
This event is triggered when registration of custom user profile information is validated.
@since 1.6
Params
- profile post data - array, consist of form post data
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 )
Return
- error message - array, consist of error messages
Example
function onRegisterProfileValidate($post) { $err = array(); if(empty($post['authkey'])) { $err[] = JText::_('Session Expired.'); } . . . return $err; }