From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Richard Rodseth
Sent: Wednesday, December 12, 2007 9:04 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] TextInput for percentage
I'll take a look at flexlib, but just to clarify, I don't just want "%"
I'll take a look at flexlib, but just to clarify, I don't just want "%" in
the field - when the value in the model is 100, I want "100%", and I want
the user to be able to type "100" or "100%". Thanks.
On Dec 11, 2007 7:01 PM, Adnan Doric <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I would go for :
Hello,
I would go for :
Flexlib: PromptingTextInput.prompt = "%" +
PromptingTextInput.restrict="0-9" + NumberValidator 0-100
Cheers,
Adnan
Richard Rodseth wrote:
>
> Any ideas on the best approach to implementing a text input for
> percentage values? I haven't found any built-in validators/
Any ideas on the best approach to implementing a text input for percentage
values? I haven't found any built-in validators/formatters. Basically I just
want the field to display the % sign, allow it to be typed in, and strip it
out when processing the value. Thanks.
4 matches
Mail list logo