rikk
Posts: 5
|
| Posted: 12/06/2010, 8:32 AM |
|
Hi!
Im need to create an Input Mask which allow beginnig with "+" sign or "-" sign ( both are possible) and continue with some numbers.
Is it possible??
Thanks in advance.
|
 |
 |
saseow
Posts: 744
|
| Posted: 12/07/2010, 12:29 AM |
|
I am not sure if you want decimals or not but you can try something like this for integers:
^[-]?[1-9]+[0-9]*$
This will validate both positive and negative integers with a minus or plus sign at the start.
|
 |
 |
rikk
Posts: 5
|
| Posted: 12/07/2010, 10:38 AM |
|
Thanks for the answer, this is fine for the validation, but Im would like configure one Input Mask.
In Events "Client->On Load->Validate Entry" is offered a possibility create a mask, for example "(000) 000-0000" for phone number input .
Im need something alike as "+0000.00" or "-0000.00", but which allow input "+"sign or "-" sign as the first character and then the numbers "0000.00".
Are you now how is it possible?
|
 |
 |
|