Sinisakrisan (Talk | contribs) (Created page with "===Description=== This event trigger when validation of registration on user basic information such as user name and email. @since 1.6 ===Params=== *'''user post data''' - a...") |
(→Description) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
===Description=== | ===Description=== | ||
− | This event | + | This event is triggered when registration of basic user information such as user name and email is validated. |
@since 1.6 | @since 1.6 |
Latest revision as of 07:29, 9 March 2013
Description
This event is triggered when registration of basic user information such as user name and email is validated.
@since 1.6
Params
- user post data - array, consist of form post data
Array ( [jsname] => Alen [jsusername] => alen [usernamepass] => alen [jsemail] => alen@hotmail.com [emailpass] => alen@hotmail.com [jspassword] => password [jspassword2] => password [tnc] => Y [submit] => Next [task] => register_save [id] => 0 [gid] => 0 [authenticate] => 1 [authkey] => 4857d92e85efe6e31ed3ea374a15f683 )
Example
function onRegisterValidate($post) { $err = array(); if(empty($post['jsname'])) { $err[] = JText::_('CC IMPROPER USERNAME'); } . . . return $err; }