Project / Support Center
Welcome, %1$s. Please login or register. February 28, 2024, 11:38: AM
Web Global Net Web Application & Web Development Project Center  |  Technical Issues  |  HTML Related Issues  |  : having phone number format correctly 0 and 1 Guest are viewing this topic. « previous next »
: [1]
: having phone number format correctly  ( 1352 )
admin
Administrator
******


: 239


« : 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"); ?>
 

The Unknown Webmaster
: [1]  
Web Global Net Web Application & Web Development Project Center  |  Technical Issues  |  HTML Related Issues  |  : having phone number format correctly « previous next »
:  


Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!
Sorry, the copyright must be in the template.
Please notify this forum's administrator that this site is missing the copyright message for SMF so they can rectify the situation. Display of copyright is a legal requirement. For more information on this please visit the Simple Machines website.