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

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

Numeric Field Pattern Not Accepting

Avatar

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

Avatar

Correct answer by
Level 2

Thank you - that is perfect

View solution in original post

3 Replies

Avatar

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}

Avatar

Correct answer by
Level 2

Thank you - that is perfect

Avatar

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

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now