Moin!
Gibt es eine Möglichkeit, Eingaben in Formularfelder so zu filtern, dass nur Ziffern akzeptiert werden: In Handbüchern und im Forum bin ich nicht fündig geworden.
Kommt darauf an, was du willst:
Es gibt die Möglichkeit, zu prüfen, wenn
a) die Eingabe in ein Feld beendet wird, in diesem Fall kann man einfach mit einer regular Expression beim Event "onchange" arbeiten
oder
b) direkt die Eingabe einer Nicht-Ziffer unterbinden, dazu müsste etwas mehr Aufwand betrieben werden (key-event auswerten etc)
Cü,
Kai
--
What is the difference between Scientology and Microsoft? One is an
evil cult bent on world domination and the other was begun by L. Ron
Hubbard
ie:{ fl:( br:< va:) ls:? fo:| rl:? n4:° ss:{ de:] js:| ch:? mo:| zu:|]
What is the difference between Scientology and Microsoft? One is an
evil cult bent on world domination and the other was begun by L. Ron
Hubbard
ie:{ fl:( br:< va:) ls:? fo:| rl:? n4:° ss:{ de:] js:| ch:? mo:| zu:|]