How To Schedule A Gravity Form To Appear On Set Dates Of The Month?

Home Forums Gravity Forms Gravity Forms Use Case Questions & Answers How To Schedule A Gravity Form To Appear On Set Dates Of The Month?

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #52
    maguirewebdesign
    Keymaster

    Hello,

    Let’s say I have a recurring need every month to have a particular form visible on set dates…

    …for example, the form should ONLY be visible on the 15th and 20th of the month only…

    How would you make this happen in Gravity Forms?

    What are your thoughts?

    #54
    maguirewebdesign
    Keymaster

    According to Chris Hajer (Gravity Forms Support Engineer) your best bet is to try using gform_get_form_filter

    And it does exactly what it sounds like, it controls the HTML output of any Gravity Form.

    Combined with the right PHP command – you will be able to use this filter to instruct any Gravity Form on your site to either ‘display’ or ‘be hidden’ on any particular day of the month…

    …question is, what would be the most appropriate PHP command to use?

    Any suggestions?

    Let me kick off for you –

    How about the strtotime function?

    Now, we’d love to hear from you!

    (Recommended by Gravity Forms Support Engineer: Chris Hajer)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.