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

livecycle designer


Level 3


I have 3 fields, say A,B n C. if A= less than 10 then B n C will be 0. how can i make this coce.



0 Replies


Level 2

I am kind of an amateur. I have really only been using Livecycle for about a month and a half but this forum has been invaluable so I figured I should contribute back as best I can.

Ok so your issue is that you want Fields B and C to show value 0 if Field a's value is less than 10.

Using javascript use an if command.

place a code similar to the one below on the exit event of field A.


if Text.Field.A.rawValue  < 10;


Text.FIeld.B.rawValue == 0;

Text.FIeld.B.rawValue == 0;



please excuse any scripting mistakes. Normally, if I were writing a code like this, it would take several attempts to get everything just right.  As I said before, I am an amateur but I hope to get you on the right path.