Jezza22 Posted March 3, 2009 Share Posted March 3, 2009 Ok, I would like a text box that is formated as numeric, with two decimal points. Is this possible? For example, <input name='Credit_Limit' type='numeric' size='10,2' value=''0.00"/> Defaulting to a value of 0.00 Help would be much Appreciated. I also realise, that I'll need code to ensure that only a numeric value is submitted, but hey one step at a time Jez Quote Link to comment https://forums.phpfreaks.com/topic/147827-numeric-input-two-decimal-points/ Share on other sites More sharing options...
haku Posted March 4, 2009 Share Posted March 4, 2009 No, you can't do this in the HTML. You can only validate it with javascript and/or a server-side language. Quote Link to comment https://forums.phpfreaks.com/topic/147827-numeric-input-two-decimal-points/#findComment-775967 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.