Im am having an issue with creating a mask for an input field. I want the user to be able to input a time as either 1.5 (1 1/2 hrs) or 1:30 (1 1/2 Hrs).
If I set the mask value = "{}nn{char:1:.\:}##" then the mask dosn't work.
If i set the mask = "{} nn {char:1:.\:}##" , where there is a space either side of nn then i can input the correct mask (sort of). it will only allow up to 2 leading decimals, I can only enter "." or ":" and then 2 trailing decimals.
The problem is however the mask looks like this 99 .99 with a space before the "." and this causes a validation error as my format is "0.00".
Can anyone tell me how i can correctly acheive this mask , so i dont have any leading or trailing spaces around the first decimal fields.