Custom user registration plugin - getting field values? - Joomla! Forum - community, help and support


i've used example plugin make own custom field on registration form, called "esr number" id "esrnumber".

in plugin's php file (esrnumber.php) have onuserbeforesave function run own validation check on esr + name field. if returns false, registration rejected appropriate error message, otherwise user gets saved.

here's function:

code: select all

    function onuserbeforesave($user, $isnew, $new){
      /* code here check if name , esr number match in database  */
        if($foundesr == false){
         jerror::raisewarning(1000, jtext::_('there problem esr number, not match name in our records.'));
            return false;
        }
        return true;
    }


what i'm asking how user input registration form function? need contents of name field , esr field in function.

any ideas?

check out article, contains info you'll need.
http://www.informit.com/articles/articl ... 8&seqnum=5





Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support