What is the best method to limit input of a dojo text field to decimal data only? I know a formatter could be used to transpose the input to valid characters, but that would still allow the user to enter 123abc4.56xyz when 1234.56 is the valid formatted result.
We've considered and attempted using an onKeyUp event by interrogating each key press and removing anything other than 0-9 and . (decimal/period) but all the possible navigation keys need to be handle also. This seems too daunting, yet there doesn't appear to be a more elegant method as referenced on the cafe or in help.
I know this has had to been addressed before and am hopeful that I'm just not searching the topic with the proper keywords and such.