PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WEBDEV 2024 → Input mask with 2 digits
Input mask with 2 digits
Started by Michiel Janssen, May, 31 2017 1:17 PM - No answer
Posted on May, 31 2017 - 1:17 PM
Hello there,

I'm trying to make an input mask for minutes in and EDT.
My current input mask is: 'Spin * (HTML5: number)' input mask to go up in minutes one by one. (with a minimum of 0 and a maximum of 59).
The input I'm using works fine for anything that is 10 or higher, yet for anything below 10 I only get 1 number, which doesn't look right for a minute counter.
When I try to add anything to the input mask it reverts to showing nothing for 0 and discarding both my minimum and maximum values.
Also an input mask of '09', which according to the input mask help page
(http://doc.windev.com/en-US/…)
is supposed to give you always 2 digits, with the left one being a 0 in the case of anything lower than 10, yet that does not work for me.

My questions are:
- Is it at all possible to combine 'Spin * (HTML5: number)' with another input mask?
- How do you make an input mask that always has 2 digits, even in the case of a number below 10?

The Webdev version I'm using is Webdev 20.

Thanks in advance for any help.