Reputation: 224
I want to add a form for entering Mobile Number. But want to ask the user to enter the country code as well so that a verification SMS can be sent over the number.
What I want is:
Enter Your Mobile Number. : |(country code)| |(mobile no.)|
How can I do this?
Upvotes: 0
Views: 4730
Reputation: 274
sample code:
<input class="input" ng-model="countryCode" placeholder="Country Code"></input>
<input class="input" ng-model="mobileNumber" placeholder="Mobile Number"></input>
Upvotes: 1