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

Change JavaScript to Form Calc


Level 1

Can someone can help change this to formcalc please and BIG thank you

if (tfProductCode.rawValue == "widgits" || tfProductCode.rawValue == "gizmos || ... )

     this.rawValue = this.parent.tfSize.rawValue * this.parent.tfQuantity.rawValue * this.parent.tfPrice.rawValue;

else this.rawValue = this.parent.tfQuantity.rawValue * this.parent.tfPrice.rawValue;

1 Reply