Title: Filter Value ID
Last modified: October 5, 2023

---

# Filter Value ID

 *  Resolved [rubila69](https://wordpress.org/support/users/rubila69/)
 * (@rubila69)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/filter-value-id/)
 * Hello.
 * Can you please tell how to use filter value to show currently login in user ID.
 * We have code [gravitywp_count formid=’5′ filter_field=’1′ filter_value='{user_ID}’]
 * In field 1 we have user of website and we need to filter that value of this field
   is current user.

Viewing 1 replies (of 1 total)

 *  Plugin Author [GravityWP](https://wordpress.org/support/users/gravitywp/)
 * (@gravitywp)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/filter-value-id/#post-17102941)
 * Hi [@rubila69](https://wordpress.org/support/users/rubila69/),
 * for the created_by filter there is an option to use ‘current’ as value, this 
   will count only the entries that are created by the current logged-in user. 
   
   This is currently not possible for the filter_value within the current version,
   but there are workaround: If you want to use the shortcode with a filter on user
   id in Post Content, you can use the [Gravity Forms Post Content Merge Tags](https://gravitywiz.com/documentation/gravity-forms-post-content-merge-tags/?ref=46)
   Perk from GravityWiz. This makes it possible to use Merge Tags inside Post Content
   on your site. Your shortcode would then look like this:
 *     ```wp-block-code
       [gravitywp_count formid='5' filter_field='1' filter_value='{user:ID}']
       ```
   
 * But this only works when you install the perk. Other alternatives are to use 
   the shortcode inside [GravityView](https://www.gravitykit.com/?ref=115), Gravity
   Forms Notifications or Confirmations. Those places also allow the use of Merge
   Tags within the shortcode.
 * Hope this helps you further!

Viewing 1 replies (of 1 total)

The topic ‘Filter Value ID’ is closed to new replies.

 * ![](https://ps.w.org/gravitywp-count/assets/icon-256x256.jpg?rev=3215193)
 * [GravityWP - Count](https://wordpress.org/plugins/gravitywp-count/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gravitywp-count/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gravitywp-count/)
 * [Active Topics](https://wordpress.org/support/plugin/gravitywp-count/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gravitywp-count/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gravitywp-count/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [GravityWP](https://wordpress.org/support/users/gravitywp/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/filter-value-id/#post-17102941)
 * Status: resolved