hi all:
    I use ajaxhelper to check the password and its confirm.like this:
<?php echo $html->password('User/user_pass', array('size' =>
15,'id'=>'pw','name'=>'pw')); ?>
....
    <?php echo $html->password('User/user_repass', array('size' =>
15,'id'=>'repass','name'=>'repass')); ?>
.....

     $passOptions = array(
        'update' => 'ckpass',
        'url'    => '/register/checkPass/'.,
        'frequency' => 1,
        'loading' => "Element.hide('ckpass');Element.show('passload')",
        'complete' =>
"Element.hide('passload');Effect.Appear('ckpass')"
    );
   echo $ajax->observeField('pw', $passOptions);

   $reOptions = array(
        'update' => 'ckrp',
        'url'    => '/register/checkRepass',
        'frequency' => 1,
        'loading' => "Element.hide('ckrp');Element.show('reload')",
        'complete' => "Element.hide('reload');Effect.Appear('ckrp')"
    );

and when I want to check the confirmed password using checkRepass() in
the RegisterController,I found that I can not get the "user_pass" and
only the "user_repass" arrived.I wonder how I deal with this case that
getting two fields and pass them to the action 

Thanks all.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to