ASP Form Field Input Masks Question

  • Thread starter Thread starter bravesplace
  • Start date Start date
B

bravesplace

I have an ASP form with a form field that will take a number such as
31. Can I create an input mask that will convert a 2 digit number to
have a decimal between the digits (31 = 3.1 45 = 4.5). Any code snips
or guidance would be great.
 
Hi,

The question is where do you wish to accomplish this at, the client or the server. Also, there is more to it than just inserting a
decimal point. You'll need to insure that the value is numeric.

FP can help with it's validation making sure that you have a numeric field value and can insure that the value is between 0.0 and
9.9, assuming that is the range we are speaking about. You can then augment the submit validation to add the decimal point between
the values.
 
Back
Top