Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Calculating Totals of the same List Items in Multiple drop-downs in a form

Avatar

Level 1

I have a form in LiveCycle Designer that has multiple drop-downs with the same text list items, namely: H, N, C, and X, with 'Allow Custom Text Entry' enabled. I have a Total object named PPE1, a numeric object where I want the figure for the total number of 'H's selected from all the drop-downs,, for example to 'appear' - for want of a more technical term. Is this possible? I have 0 knowledge of calculations in LiveCycle Designer.

Thank you

1 Reply

Avatar

Employee Advisor

You may read the value from the dropdown (var myDDValue = DropDownList.rawValue) and compare against the value of other dropdown using If else and set the value in the final field based on the logic.