Calculate totals in Web Form Builder?...

User 187934 Photo


Senior Advisor
18,016 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.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
http://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
http://progrower.coffeecup.com/shop/
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 personnel site used for testing and as an easy way to share photos.(RLM imported to RSD)
http://ericrohloff.com
http://ericrohloff.com/property/
User 1982097 Photo


Registered User
54 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
I love coffee in cups
User 1982097 Photo


Registered User
54 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?
I love coffee in cups
User 1982097 Photo


Registered User
54 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.
I love coffee in cups
User 1982097 Photo


Registered User
54 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?
I love coffee in cups
User 187934 Photo


Senior Advisor
18,016 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.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
http://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
http://progrower.coffeecup.com/shop/
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 personnel site used for testing and as an easy way to share photos.(RLM imported to RSD)
http://ericrohloff.com
http://ericrohloff.com/property/
User 1982097 Photo


Registered User
54 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?
I love coffee in cups
User 187934 Photo


Senior Advisor
18,016 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.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
http://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
http://progrower.coffeecup.com/shop/
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 personnel site used for testing and as an easy way to share photos.(RLM imported to RSD)
http://ericrohloff.com
http://ericrohloff.com/property/
User 1982097 Photo


Registered User
54 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?
I love coffee in cups
User 187934 Photo


Senior Advisor
18,016 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.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
http://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
http://progrower.coffeecup.com/shop/
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 personnel site used for testing and as an easy way to share photos.(RLM imported to RSD)
http://ericrohloff.com
http://ericrohloff.com/property/

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.