Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

Numeric field, percentage

Avatar

Level 2

Hello,

I would like a numeric field to appear as a percentage as it is typed. For example, if I type 15 I want the field to populate 15% (not 1500%).

How do I need to set the display/edit/validation/data patterns?

Thank you,

Caroline

1 Accepted Solution

Avatar

Correct answer by
Level 6

Just append '%' to your format string.  For example:

num{z9.zz'%'}

View solution in original post

3 Replies

Avatar

Level 2

That's what I'm trying to avoid having to do... I really just want the % sign to show up...

Avatar

Correct answer by
Level 6

Just append '%' to your format string.  For example:

num{z9.zz'%'}