• Resolved jassimp

    (@jassimp)


    Hi
    i was searching for a solution similar this
    I have a form that used for scheduling with different location and different coordinators.

    i just want to know how many total entries there once the user selected the dropdown filed for location and coordinator

    The screen shot is below

    https://ibb.co/wcsxTfS

    [gravitywp_count formid="1" filter_field="4" filter_value="????"] 

    how to get filter value for a dynamic field like dropdown?
    how to accomplish this

    please help

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

    (@gravitywp)

    Hi Jassimp,

    From the screenshot I cannot see if this is a Form or a Gravity View Edit screen.
    If it is a form it cannot easily be done. I a Gravity View you can use a mergetag in the shortcode, like:
    [gravitywp_count formid=”1″ filter_field=”4″ filter_value=”{Location:4:value}”]
    Which will update after clicking assign.

    Thread Starter jassimp

    (@jassimp)

    Thank you for the help
    but unfortunately, i wish to see the count data before clicking the next or assign button.
    is there any way to show it live result while selecting related dropdown filed in the form?

    Plugin Author GravityWP

    (@gravitywp)

    This plugin can only count entries which are already submitted. The count is executed when loading the page, so what you want is not possible I think.

    Thread Starter jassimp

    (@jassimp)

    Thanks again
    I am confused how to use the below short code
    [gravitywp_count formid=”1″ filter_field=”4″ filter_value=”????”]
    in the filed of ???? should be the value of drop down filed of the form
    so how to get the drop down value to this “????” value?

    thanks

    Plugin Author GravityWP

    (@gravitywp)

    That is something you can define in the Gravity forms field settings, see: https://docs.gravityforms.com/drop-down/

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Get count from dynamic fields (dropdown)’ is closed to new replies.