PC Review


Reply
Thread Tools Rate Thread

ASP Form Field Input Masks Question

 
 
bravesplace@yahoo.com
Guest
Posts: n/a
 
      8th Feb 2006
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.

 
Reply With Quote
 
 
 
 
MD Websunlimited
Guest
Posts: n/a
 
      8th Feb 2006
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.


--
Mike -- FrontPage MVP '97 - '02
http://www.websunlimited.com
FrontPage Add-in



<(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
>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.
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Question on Input Masks =?Utf-8?B?Tm9ybTc1?= Microsoft Access Getting Started 1 2nd Dec 2005 05:19 PM
VBA Question: User Form and input masks MarianneR Microsoft Excel Programming 2 13th Oct 2005 08:48 PM
Re: VBA Question: User Form and input masks MarianneR Microsoft Excel Programming 0 13th Oct 2005 07:41 PM
Input masks for a field with varying data lengths/values =?Utf-8?B?QU1Ib2RnZXR0cw==?= Microsoft Access Database Table Design 1 22nd Nov 2004 05:58 PM
Form field 'input masks' like in MS Access Bill Schroyer Microsoft Frontpage 0 3rd Jun 2004 10:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:18 AM.