Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Numeric Field Pattern Not Accepting

brianmjohnnies
Level 2
Level 2

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. 

1 Accepted Solution
brianmjohnnies
Correct answer by
Level 2
Level 2

Thank you - that is perfect

View solution in original post

3 Replies
radzmar
Level 10
Level 10

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}

brianmjohnnies
Correct answer by
Level 2
Level 2

Thank you - that is perfect

View solution in original post

brianmjohnnies
Level 2
Level 2

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