permit decimal point in text input