Our intranet web page contains a series of text fields that we created using the "input" tag. The users can tab through this series of fields. The users type currency values into these fields.
How do I add these features to the text fields:
1) The users should not be able to enter any values except numerals and periods.
2) A dollar sign should appear as soon as the user types the first number or period.
3) Each entry can have only one period.
4) The users should not be allowed to type more than two numerals after a period. We don't deal with fractions of pennies.
5) After the user enters a period and two numerals, the insertion point should automatically jump to the next field.
How do I add these features to the text fields:
1) The users should not be able to enter any values except numerals and periods.
2) A dollar sign should appear as soon as the user types the first number or period.
3) Each entry can have only one period.
4) The users should not be allowed to type more than two numerals after a period. We don't deal with fractions of pennies.
5) After the user enters a period and two numerals, the insertion point should automatically jump to the next field.