Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Masking the field

    Hi,

    I would like to have mask for the number in the field ie. user should not be able to enter other characters than numbers and decimal separator. Can it be achieved?
    I have used TextItem with setMask (#.##), but there is a problem that I don't know how to define that there can be one or more numbers before the separator. And if I put more (#######.##) I need to fill them all.


    version: 2.5.2011-03-31-EVAL

    #2
    The mask feature of SGWT does not handle variable length numbers in this manner. You can restrict entry of to numbers and the decimal with a keypressfilter ([0-9\.]).

    Comment

    Working...
    X