简体   繁体   中英

Phone Number Validation in Codeigniter

I have validated my form in such a way that it ain't submitting the data unless the contact field has something else without 11 numeric values. But now I need such phone number validation in Codeigniter that the input field doesn't even let me to type a single character if that is not a number. Can anyone help me with that?

What you're looking for is jquery plugin which restricts user input to digits only.

This is plugin - http://www.texotela.co.uk/code/jquery/numeric/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM