I recently want to develop a field for user account.
The Field will provide a cellphone textfield and a validate button!
After finishing the cellphone textfield by the user, The user push the validate button. Then, the system will send the sms message using ajax.
After sending the validate code message to the user, the system will respond the CODE to the client side. However, the cell phone textfield is invisible right now.
Finally,the user enter the code get from sms message and then push the button.
The system will check the code by ajax and then return the correct/false value to the client side.
After the steps above, the system will hide all the field and show the result of the validation.
My question is how can I do that?