timstring Posted November 2, 2012 Share Posted November 2, 2012 How do I format a number field? I don't want any commas. Link to comment Share on other sites More sharing options...
niche Posted November 2, 2012 Share Posted November 2, 2012 This is the html forum. html doesn't have number fields per se. Are you asking about a sql table? Link to comment Share on other sites More sharing options...
timstring Posted November 2, 2012 Author Share Posted November 2, 2012 (edited) No, it's an HTML question <form action="validate1.php" method="post" name="LogIn" class="center"><div class="small"><label>Tech Number: <br /></label><input type="number"] name="TechEntry" id="focus-field"><br /> Edited November 2, 2012 by timstring Link to comment Share on other sites More sharing options...
niche Posted November 2, 2012 Share Posted November 2, 2012 http://www.w3schools.com/tags/att_input_type.asp Link to comment Share on other sites More sharing options...
thescientist Posted November 5, 2012 Share Posted November 5, 2012 (edited) its not fully cross browser compatible however. To truely validate user input, most options involve using JS to validate client side pre submit, and also with a server side language when processing the form (also helpful in the event JS is disabled) Edited November 5, 2012 by thescientist 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now