Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Display pattern issue..

Avatar

Level 10

I need to have a display pattern on a Numeric field so that when an user enters 12 as it's value,

the display should be as 12.00%

Tried various options but nothing turned up correctly.

Any advice is greatly appreciated.

Nith

1 Accepted Solution

Avatar

Correct answer by
Level 10
4 Replies

Avatar

Correct answer by
Level 10

I always use

Avatar

Level 10

Excellent radzmar!

Do you have any article/documentation which explains these patterns?

Many thanks,

Nith

Avatar

Level 10

Hi,

detailed information about the picture clauses can be found in the XFA spec.

As the percentage picture clause works different than expected, I use the workaround with the quotation marks in the pattern.

http://partners.adobe.com/public/developer/en/xml/xfa_spec_3_3.pdf

Page 1180 > Effect of the % Picture Symbol