Numeric Field Pattern Not Accepting

Avatar

Avatar

brianmjohnnies

Avatar

brianmjohnnies

brianmjohnnies

12-06-2017

I have 2 questions regarding a numeric field. When a value such as 250.00- is pasted into the field, livecycle is not accepting this pattern. I would like to change the pattern so this value is accepted. In addition, I would like to move the negative sign to in front (to the left) of the number. 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

brianmjohnnies

Avatar

brianmjohnnies

brianmjohnnies

17-06-2017

Thank you - that is perfect

Answers (2)

Answers (2)

Avatar

Avatar

radzmar

MVP

Avatar

radzmar

MVP

radzmar
MVP

12-06-2017

Hi,

to move the minus sign from the right to the left use this edit pattern:

num{zz9.88S}

and this display pattern:

num{Szz9.99}

Avatar

Avatar

brianmjohnnies

Avatar

brianmjohnnies

brianmjohnnies

24-03-2018

I have a similar but different question regarding Patters and a Numeric field. I would like to have a percent. When user inputs a number with one decimal point e.g. 2.3 I would like that number to automatically change to 2.3%. Just with the numeric pattern. I have added code to the enter to null the value and other code in the exit to divide number by 100 with the following format. This approach does not work well. Just wondering if the pattern itself can be manipulated to accommodate. 

1449895_pastedImage_0.png