Can this program do calculations? -...

User 139605 Photo


Registered User
83 posts

Eric, one last thing I noticed. Is there a way to make it so if someone puts in a quantity of: 0 that it wont show up in the output results/email?

The way it is right now, if they don't put anything in, it wont show up in the results/email, but, if they put in a: 0 for quantity, it's still showing that line, unlabelled. See attachment.

Thank you in advance for this last piece of the puzzle. :)
Attachments:
User 139605 Photo


Registered User
83 posts

I assume it's an "if" statement.
User 187934 Photo


Senior Advisor
20,193 posts

Try setting the minimum value for those two elements to 1 in 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
User 139605 Photo


Registered User
83 posts

I have them both as text fields. :(
User 187934 Photo


Senior Advisor
20,193 posts

For the item count? If so change them to a number. You could also use a reg expression but I don't think it's needed in this case.
Yes it works.
http://ericrohloff.com/coffeecup/ccforu … ost_grand/
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 139605 Photo


Registered User
83 posts

Yes, I have text fields on both item count and totals. When a "0" is entered in the item count, it put: $0.00 in that line's total field. When submitted. The item count field is ignored but the line total field that has the $0.00 is still passed. :(
User 187934 Photo


Senior Advisor
20,193 posts

Look at my form. I have it set for a min of 1 and it won't submit if you enter 0. This is also important so users don't use decimals. I have it set to force steps of 1.
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 139605 Photo


Registered User
83 posts

But the problem with that is a) the step up and down arrows don't really work and b) it's ok if they enter decimals. Does that make sense? :)
User 139605 Photo


Registered User
83 posts

Hey Eric, also, with 400 items, people have to be able to just pick and choose one or two items they want to order.

I just checked yours and it does the same thing. When I entered: 0 for the second item count and then hit submit, the results are showing a $0.00 line.
User 139605 Photo


Registered User
83 posts

Thanks again Eric. Sorry for being such a pain in the ass. Totally not intended :(

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.