[Logo] OLD FORUM - Use new one: https://www.CaptainCasa.online/forum
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
t:formattedfield and formatmask  XML
Forum Index -> Development
Author Message
ddammann

Power User

Joined: 13/09/2010 09:41:07
Messages: 66
Location: München
Offline

Hi
I use t:formattedfield and set
formatmask = "%"
value = 0.55

Result = 55,00% ->

But how I could edit this one? No 60,00%, no 60,00 no 0.60, no 0.60%

regards
Dörte
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

Hi,

we just checked...: there is a validation of a number input against the regular expression:

Code:
             String regex = "[ 0123456789.,'-]+";
 


We now added "%" as well, so you now can input "%" as well.
Fix is available with next update - or on your request, if required earlier.

Thanks!
Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team