CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Format string when focus is taken off

Print topic Send  topic

Author Message
drpcken

Posts: 60
Posted: 01/14/2005, 8:19 AM

I have a textbox that I need the value of it to auto format as soon as focus is removed from the textbox.

Here's how it needs to work. Phone number field, user put the phone number in like this 9018703339. When user tabs to next field, i want it to immediately autoformat like this: 901-870-3339

Can it be done?

Thanks!
View profile  Send private message
peterr


Posts: 5971
Posted: 01/14/2005, 10:02 AM

It should be possible. You may want to find some JavaScript code for that and use it in OnMouseOut.
http://www.google.com/search?hl=en&lr=&q=javascript+format+phone
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.