I was on my way to give it a test, but found in some support thread that they didn´t support decimals But I send them a mail right away then we get some facts.
I love this snippet, we use it a lot throughout our forms but can you tell me is there any way to round to the nearest increment of less than 1 but greater than 0? For instance, I tried to use gw-round-up-0.1 but it doesn’t seem to work. Is there any way to accomplish this?
Hi Jon, rounding by decimals is not supported currently. You could handle this by utilizing [Copy Cat] Drop us after purchasing a Gravity Perks license and we can walk you through it."
I’m not aware of another coded solution available. Without using something like this, you would need to use your own JavaScript/jQuery function to perform the rounding on the page.
If it does not need to happen on the page, and can happen after the form is submitted, you can use the gform_field_validation filter:
Or, if you can perform the rounding after submission, you can use the gform_pre_submission filter:
It makes sense. I recommend contacting the author for their support or assistance. The functionality you’re looking for does not exist in Gravity Forms, and that is the closest solution I know of. Otherwise, you’d be writing your own custom code.
CopyCat is a paid perk and with that you would have access to their support. I’m not sure how they work together - they have their own support for Gravity Perks and their Gravity Wiz snippets. Thank you.
Hi, the snippet form Gravity Wiz worked out fine, but only when you present the result online. What if you want to send the rounded result in an email? Anyone know how to achieve that? Thanks