Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

How do I automatically calculate totals from options selected in drop down lists?

Avatar

Level 1

Hi

I have a Travel Claim form and am trying to have a Totals field that is automatically calculated when options from dropdown lists are selected.

i have used a script in the past that calculates, but that only works if Prices are manually typed into a text box.

What i have are drop down boxes with a price list for Breakfast, Lunch, Dinner and overnight Incidentals, then i have  Rate $ which will be manually entered.

I want all of those to be automatically calculated to a Totals Box.

Any help would be greatly appreiciated.

0 Replies