GravityWP
Forum Replies Created
-
Hi @revwow,
Yes, but you’ll need to add a number field to your form and use calculation to fill it. Use the merge tag from the TOTAL column and place it in the calculation area of the new number field.
It will now also be available to GravityWP – Count.
Kind regards,
ErikForum: Plugins
In reply to: [GravityWP - Count] Remove decimal from total sum?Hi @zalmyk,
this is a standard functionality, just add:
decimals='0'to your shortcode and it will not show any decimals.
Kind regards,
ErikForum: Plugins
In reply to: [GravityWP - Count] Yesterday’s dateHi Nitrat,
No, this relative time filtering is not supported. You could have a look at GFChart for that (they have this possibility)
Forum: Plugins
In reply to: [GravityWP - Count] filter field by dateHi!
You shouldn’t use filter field without a filter value.
The start and end date filter is for entry submission date (and not for filtering on a datefield).
To accomplish this you have to add custom script or use the ‘contains’ maybe.
Hope this helps!
Erik
Forum: Plugins
In reply to: [GravityWP - Count] Count entries from multiple formsHi Schalk,
Thank you for sharing. I think that’s an excellent solution. You could also pass atts in your shortcode to make the sum shortcode even more flexible.
Kind regards,
ErikForum: Plugins
In reply to: [GravityWP - Count] Custom User Meta as Filter ValueHi David,
Not out of the box. But you can always use do_shortcode in php and use the custom user data as a variable to construct the specific shortcode.
Hope that helps.
Forum: Plugins
In reply to: [GravityWP - Count] Does this work with product fields?Hi Mark,
than I think it’s really a different way GF is handling product field filtering.
Quick and dirty solutions would be:
- to use conditional logic and in your example create 5 different fields (can be text lines with a standard value filled in) and turn it on invisible. This way you can create shortcodes based on those text fields.
- you could the Gravity Perk Preview Submission to fill in one text field with the value of the product field in a later step in the form
- you could have a Gravity Flow step to fill in an extra field in your form with the final choice after submission with the form connector add-on.
The better solution would be of course to add this functionality to the GravityWP – Count plugin. We will put it on the roadmap, but I can’t promise a final date.
Hope this answers your question!
- This reply was modified 8 years, 6 months ago by GravityWP.
Forum: Plugins
In reply to: [GravityWP - Count] Does this work with product fields?Hi Mark,
Thanks for the compliment!
Concerning your current problem: Could you try it with:
filter_mode='contains'I found here some interesting code that looks like product fields are treated differently, but I’m not sure. If this solves the problem, let me know. If not, than it’s probably going to take more time to add product filter functionality.
Forum: Plugins
In reply to: [GravityWP - Count] Incorrect calculationThe problem is solved (interaction by mail). It had to do with the page_size argument within the shortcode. The form Nitrat was using had a lot of entries. When counting a number field, the result is filtered using the page_size parameter. You can easily solve this by adding for example page_size=”2000″ to the shortcode (or a higher number if needed).
Forum: Plugins
In reply to: [GravityWP - Count] Incorrect calculationHi Nitrat,
could you provide me with more details, because it’s difficult for me to do debugging still. Do you have a live form somewhere I can have a look at? Or otherwise contact us here https://gravitywp.com/support/ or send an e-mail with an export of the form you’re using, so we can test it on our own test environment: [email protected].
Forum: Plugins
In reply to: [GravityWP - Count] Incorrect calculationHi Nitrat,
this is not enough information for me to do any debugging. The plugin works perfectly in all my test- and live environments. Could you provide a link to the form you’re using? Did you try the shortcode with double quotes (“)? Did you check it with other number fields in other forms on your site? Did you try it on another site? Do you have a test site?
Hi Tia,
Shortcodes are used on the front end of your site (or you can use it in the confirmation page). Its only to show a calculation, not to do a calculation that is saved within the form. If you want something like that, you should consider hiring a developer on Codeable for example (they have very good Gravity Forms developers there).
Be sure to Google a little bit on wordpress shortcodes and how to use them.
Forum: Plugins
In reply to: [GravityWP - Count] Total donatedDidn’t hear anything, so I guess this is solved.
Hi TIA,
I guess you can do that by filtering the results on ‘yes’. The plugin doesn’t do extra calculations and can use a number field to get a total for multiple entries. It doesn’t count quantity fields, so if you do that, make sure there is a copy available in a number field, so you can count and filter on that field.
Hope this helps.
Forum: Plugins
In reply to: [GravityWP - Count] Total donatedI guess so… Did you try the shortcode? Is the donation one number field?