![]() |
Is there a way to do an input mask?
I want to have a profile field for Phone Numbers.
I want the phone numbers to be in the format (xxx) xxx-xxxx I'm curious on how I would do this. Thanks for the help Josh |
See this in register.php and member.php:
Code:
// ENTER ANY CUSTOM FIELD VALIDATION HERE! Code:
#\([0-9]{3}\) [0-9]{3}-[0-9]{4}# |
Thanks, but wouldn't that REQUIRE them to enter in the correct format?
Is there a way so that they just enter 10 digits and it displays it like that? Thanks Josh |
How do you expect them to enter it?
xxx xxx-xxxx xxxxxx-xxxx xxx xxx xxxx ?? |
Probably just :
xxxxxxxxxx Satan |
xxxxxxxxxx
Should be fine. I think it would be the easiest to format. Thanks josh |
In register.php and member.php replace this:
Code:
$$varname=censortext($$varname); Code:
$$varname=censortext($$varname); |
Thanks for the help, I'll give it a try.
Josh |
Did it work?
Satan |
All times are GMT. The time now is 07:44 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|