CS Forms RealTime Calculation

Hi there,

i made a form with some calculations in it. Since you say on theForms website:

I was not able to do real time calculations with Twig. How can that be used?

I did add the twig calculations and entered all fields but nothing happened! i treid several workarounds but it does not calculate in real time => it does when i click submit.

so i ended up using java again.
Is there something i missed?

Thanks in advance

Checkout the “Auto Send Changes” control in the Form element. The “Filtered Archive” template in the max section uses this feature. The Form element docs goes through the various controls. Let us know if that helps and have a great day.

Hi Charlie,

thanks for your answer. The problem with Auto Send Changes => it does send the whole form => missing required fields throw an error. So for real time form calculation this does not work.

In my case i have a form that starts with contact information (Name, phone, mail,…)
Then i have a second row where some fields number fields for quantity in it.

When i use auto send changes and the user did miss some fields it throws errors and it does not look good.
So it would be great if we can do real time calculation for some fields without auto send changes.

Thanks again

I think you need to set a fallback form data value to your Dynamic Content. Try adding in default values to your inputs. Try adding in conditions to certain parts of your display so it doesn’t display when a field is not filled out. Checkout more of our form conditions here.

Hi,
in my secure note above you can see how it works with java.
I read the docs and struggling around to make it native but i cant get that to work like i need it.
Is there any chance you make a template for real time calc? A simple one is enough so the users can get an idea how it works.
thanks again