Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
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'%'}