Title: Help needed with gravityWP count
Last modified: August 10, 2022

---

# Help needed with gravityWP count

 *  Resolved [hurlad](https://wordpress.org/support/users/hurlad/)
 * (@hurlad)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/help-needed-with-gravitywp-count/)
 * Help needed!
 * I’m trying to create a gravity wp count function that uses a date from gravityforms
   merged tags.
 * So far I have this which works –
 * [gravitywp_count formid=”1″ thousands_sep=”,” created_by=”current”
    start_date
   = 08/10/2022]
 * But I’d like it to start from the date a different form was submitted e.g when
   they submit a form to purchase a plan. I thought I could add the merged tag for
   date of submission {date_dmy} however this does not work.
 * [gravitywp_count formid=”1″ thousands_sep=”,” created_by=”current”
    start_date
   = {date_dmy}]
 * Is there a way to do this??
 * If it is possible I’d also want the count to reset every month (30days) after
   the initial date.
 * Could anyone help with this?
 * Thank you in advance!!
    -  This topic was modified 3 years, 10 months ago by [hurlad](https://wordpress.org/support/users/hurlad/).

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

 *  Plugin Author [GravityWP](https://wordpress.org/support/users/gravitywp/)
 * (@gravitywp)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/help-needed-with-gravitywp-count/#post-15917378)
 * Hi Hurlad,
 * The start_date should be formatted in MM/DD/YYYY format, so I think you should
   use {date_mdy}. See: [https://docs.gravityforms.com/category/user-guides/merge-tags-getting-started/](https://docs.gravityforms.com/category/user-guides/merge-tags-getting-started/)
 * Also, you need to be sure the merge tag is available within the context were 
   you are using the gravitywp_count shortcode.
 * Another possibility is to use the relative date format, like ‘-24 hours’ or ‘
   today’. See:
    [https://gravitywp.com/doc/relative-date-filter/](https://gravitywp.com/doc/relative-date-filter/)
 *  Thread Starter [hurlad](https://wordpress.org/support/users/hurlad/)
 * (@hurlad)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/help-needed-with-gravitywp-count/#post-15921160)
 * Thank you for your reply,
 * so far I have this, but I am not sure if it is correct, could you please review
   it and tell me how to alter it if it is incorrect?
 *     ```
       [gravitywp_count formid="1" 
   
       thousands_sep="," created_by="current"
   
       start_date = formid="2" date_mdy  
   
       end_date="-1 months"]
       ```
   
 * It should start counting how many entries are made per user for form 1
    and start
   counting after form 2 is submitted and count for the month.
 * so it will display the entries of form 1 per month beginning from the submission
   date of form 2
 * will this reset every month using ‘end_date=”-1 months” or is there a different
   way to have it repeat/reset every month/30 days?
 * Thanks for the help!
 * Adam
 *  Plugin Author [GravityWP](https://wordpress.org/support/users/gravitywp/)
 * (@gravitywp)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/help-needed-with-gravitywp-count/#post-15921265)
 * Hi Adam, the shortcode won’t work this way as the syntax is not right. I don’t
   see a way to combine the information in two forms within the count shortcode.
   This will require a custom coded shortcode. If you want that you can hire us 
   via
    [aiwos.com](https://aiwos.com/en/) or find your own programmer.

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

The topic ‘Help needed with gravityWP count’ 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/)

## Tags

 * [GravityForms](https://wordpress.org/support/topic-tag/gravityforms/)
 * [help needed](https://wordpress.org/support/topic-tag/help-needed/)

 * 3 replies
 * 2 participants
 * Last reply from: [GravityWP](https://wordpress.org/support/users/gravitywp/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/help-needed-with-gravitywp-count/#post-15921265)
 * Status: resolved