Dynamic values on form fields

Is there a way to show a total on a form based on fields that have already been filled, like a calculation?

For example, the user selects a check box on a set of product options. If they select 3 items, there is a total field that adds all three things up and presents it as a total on the form before the person submits.

Jotform does this and I would like to do it in Hubspot and drop Jotform.

Hi @jj12stars, I hope that you are well!
Great question, thanks for asking the HubSpot Community!
Let’s invite our Top Experts to this discussion: Hi @TomM2, @Mike_Eastwood and @SteveHTM can you think of a way to achive this to help @jj12stars, please?
Have a brilliant day and thanks so much!
Bérangère

Hey @jj12stars this isn’t possible through HubSpot forms out of the box, but is possible through custom development. I know the developers of a theme I use quite a bit have just released a new custom calculator module to do exactly this. POWER calculator.

@jj12stars - in line with my colleague posting a commercial solution, I would suggest that this kind of customization is well within the scope of form enhancements. Basically, the approach is to overload the form embed script (usually within a custom landing page module) with Javascript that performs necessary form manipulations and calculations. The final ‘submit’ operation combines all the entered values and derived values and passes them to the related HubSpot object.

A very brief reference on this (for legacy forms at least) is at: Legacy forms - HubSpot docs I’ve done more work using these features than I ever would have expected!

Hope this is helpful.

Steve