• Resolved Nitrat

    (@nitrat)


    Hello
    The formula gives the correct number of records.
    [gravitywp_count formid=’14’]
    But it gives an incorrect amount by the number field:
    [gravitywp_count formid=’14’ number_field=’37’]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author GravityWP

    (@gravitywp)

    Hi 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?

    Thread Starter Nitrat

    (@nitrat)

    Hi
    Link for test
    I tried and without quotes, and with different quotes – does not consider this particular form. Other forms with this shortcode work well.

    Plugin Author GravityWP

    (@gravitywp)

    Hi 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].

    Plugin Author GravityWP

    (@gravitywp)

    The 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).

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Incorrect calculation’ is closed to new replies.