Thanks for the reply...... The client side requirement is achieved...
but i want to make a check whether the user-name is already registered
on the fly(i.e ajax call  on onkey event) .how to do that ?

On Jul 15, 5:28 pm, Kyle Decot <[EMAIL PROTECTED]> wrote:
> That's going to get to be a lot of requests I would think. I suggest
> either checking on submit, or having a "Check Availability" button.
> Here is the code to put the value of one field into another. That
> should get you started.
>
> echo 
> $form->input("username",array("onkeydown"=>"document.getElementById('input4').value=this.value"));
>
> // second input...
> // third input....
> echo $form->input("username_again",array("id"=>"input4"));
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to