J
Jochen Fuhrmann
is there a way to tell a formular not to take letters or dots or stuff, just
numbers?
jochen
numbers?
jochen
Jochen said:is there a way to tell a formular not to take letters or dots or stuff,
just numbers?
Isofarro said:Formular in HTML? Do you mean form field and validating where it contains
numbers? That would require Javascript and serverside scripting.
Jochen said:ok, i'll manage it with phps is_numeric, thought there could be a css
thing not to allow keys
Jochen said:is there a way to tell a formular not to take letters or dots or stuff,
just numbers?
David Dorward said:Why? Its a presentational language.
Jochen said:what does <input type="text"> present?
Isofarro said:Jochen Fuhrmann wrote:
Formular in HTML? Do you mean form field and validating where it contains
numbers? That would require Javascript and serverside scripting.
DU said:That would require Javascript and serverside scripting.
Just client-side script. No need for serverside. I've done this before
and was able to make it work impeccably in MSIE 4 for Windows.
David said:DU wrote:
What about the people who doesn't use MSIE 4 for Windows?
have scripting disabled?
To ensure data integrity you can not depend on client side testing.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.