How to validate Indian Mobile number?

I have developed one website where we required validation for indian mobile during registration. can anyone give me the code?

Senior Developer Asked on November 20, 2018 in HTML.
Add Comment
1 Answer(s)

<form action="" method="post">

<input type="text" name="" maxlength="10" pattern="^([6-9]{1})([0-9]{9})$" title="Please enter a valid number">

<input type="submit" name="submit" value="SUBMIT">

</form>

Team Leader Answered on November 20, 2018.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.