Project / Support Center
Welcome, Guest. Please login or register. October 03, 2023, 05:42: AM
Home Help Search Login Register
D-Web Web Site Creator D - Web Web Site Creator On-line HTML Editor No Programming knowledge required. Web Global Net PayPal-Cart Shopping Cart System PayPal - Kart Shopping Cart System for E-Commerce over the internet, that's easy to use. Web Global Net Newsletter Manager Newsletter Manager On-line Newsletter Creator with Email Subscriber Management.
Ring Central Discount
Web Global Net Web Application & Web Development Project Center  |  Technical Issues  |  HTML Related Issues  |  Topic: having phone number format correctly 0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Send this topic Print
Author Topic: having phone number format correctly  (Read 159 times)
admin
Administrator
******
Offline Offline

Posts: 238


« on: August 24, 2023, 06:30: PM »

many time users just add the phone number as one long number this will make the field show it in a normal way xxx-xxx-xxxx

<input type="tel" pattern='\d{3}[\-]\d{3}[\-]\d{4}' name="contact_phone" class="forrmfieldsrequired" id="contact_phone" value="<?php echo $row_rscontact['contact_phone']); ?>" size="15" (Format: 999-999-9999)'>
                                                    <?php echo->displayFieldHint("contact_phone");?> <?php echo ("class", "contact_phone"); ?>
Report to moderator   Logged

The Unknown Webmaster
Pages: [1] Go Up Send this topic Print 
Web Global Net Web Application & Web Development Project Center  |  Technical Issues  |  HTML Related Issues  |  Topic: having phone number format correctly « previous next »
Jump to:  


Login with username, password and session length
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!