Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can you change a textbox's format?

Status
Not open for further replies.

Cineno

Programmer
Jul 24, 2006
142
US
Hello. I'm new with web design, and Frontpage in general.

Is there a way I can format a textbox so that when the user enters something it comes up as decimal format.

Like when the page loads it could say "0.0" in the box. Then the user clicks in it, and enters "18." After he clicks enter, or clicks out of the box, the format on the textbox changes it to "1.8" or ".18"

Is there a way to do this? Thanks for any help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top