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

Time

Avatar

Not applicable
Hello, how would I be able to make a text field show the current time (est) automatically? Thanks!!
2 Replies

Avatar

Level 10
You can add this FormCalc command to your Initialize event for the field that is supposed to hold the Time:



$=Num2Time(Time())



This will give you the current time in the format the your system uses.

Avatar

Not applicable
I have a Decimal field on the form. This form is bound to a XML element where the value looks like this: 1,234.00.

When form is getting printed I have to show this value in the currency format: $1,234.00.

I tried to use Display option from "Patterns" to pick "$1,234.00", but it didn't work. I tried ALL currency formatting and still didn't work. If I replace "," in the XML for the value to look like this 1234.00, it works. But, is there any way to do it without replacing ","?

Can someone, please, give me a hint what am I doing wrong?

Thank you.

The ultimate experience is back.

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

Register Now