Calculate totals in Web Form Builder?...

User 187934 Photo


Senior Advisor
20,181 posts

Hi Jim,\
You did well.
All you need to do is change the ITEM to item in the js.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 1982097 Photo


Registered User
72 posts

I did revise it but it is not working. Just so I understand..This should change the total_Items_ordered field with a new total when the user changes fields correct? Thanks so much for your help
Coffee roasting is my passion - seriously
User 1982097 Photo


Registered User
72 posts

OK - so this is what is happening. It apparently calculates upon number being "entered". Is there a way to do it upon moving to another field like tabbing for example?
Also, it there a way to provide a form reset button to clear all fields back to zero?
Coffee roasting is my passion - seriously
User 1982097 Photo


Registered User
72 posts

if we can't use tab or recognize moving to another field to trigger the calulation, could we have a total button that the user could click to see what their total # of items is? That would be an ok alternative I think.
Coffee roasting is my passion - seriously
User 1982097 Photo


Registered User
72 posts

I've noticed that if I make the fields text fields rather than number fields then it would eliminate the use of arrows to select a number.
Thank so much for your help! - do you like coffee?
Coffee roasting is my passion - seriously
User 187934 Photo


Senior Advisor
20,181 posts

What browser are you looking at it with because in FX it works fine.
I've used regex fields to get rid of the number spinner arrows.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 1982097 Photo


Registered User
72 posts

Cool. If I use regex it will be fine. Thanks so much!
I have another need on this form as well which is a bit more complicated - I'd like to provide a running total of the cost of the items being entered as well. I don't need to display the cost of each item (that can be hidden or in a formula only).
Do you have an example of this type of thing?
Coffee roasting is my passion - seriously
User 187934 Photo


Senior Advisor
20,181 posts

Do you mind adding hidden inputs after exporting the form?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 1982097 Photo


Registered User
72 posts

If it prevents me from opening the form again in WFB than yes. Is there any other way? Can i put the price in the script?
Coffee roasting is my passion - seriously
User 187934 Photo


Senior Advisor
20,181 posts

Ok let me look at this a bit so I can make it easier to handle and do it from the form builder.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.