Verification and submission of registration page information solution
Source: Internet
Author: User
The registration page information is verified and submitted to a form on the registration page. the submit button uses an image. The idea is as follows: verify the format of the input information with javascript, submit it to the database with php, and then verify that the user name already exists. Ask how to implement it. I hope the answer is more detailed, for example, where to call javascript and where to call the php file. Verification and submission of form registration page information
Register a form on the page. the submit button uses an image. The idea is as follows: verify the format of the input information with javascript, submit it to the database with php, and then verify that the user name already exists. Ask how to implement it. I hope the answer is more detailed, for example, where to call javascript and where to call the php file. Where is form submitted?
------ Solution --------------------
Onclick->
Format of input information for javascript verification->
Submit-> submit data post or get (ajax)->
Php-> verify whether the user name exists->
Returned data
------ Solution --------------------
The answer on the first floor is complete. the new moderator is welcome.
------ Solution --------------------
Discussion
Onclick->
Format of input information for javascript verification->
Submit-> submit data post or get (ajax)->
Php-> verify whether the user name exists->
Returned data
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service