Gravity Forms Daily Form Schedule

A simple plugin to apply a daily schedule to your Gravity Forms.

August 17, 2020: Added support for inter-week schedules (e.g. starting on a Saturday and ending on a Wednesday).

Scheduling options in Gravity Forms are limited to specific dates and times. Setting a hard limit for when a form is active is effortless, but it doesn’t support daily schedules. This plugin lets you apply daily schedules to your forms. For example, you can create a form that is only accessible during business hours.

Getting Started

  1. Make sure you have Gravity Forms installed and activated.
  2. Click the “Download Plugin” button above and save the file to your Desktop.
  3. Upload the file to your site via the WordPress plugin uploader.

Usage

Daily Schedule

Once installed, navigate to your Form Settings and scroll down to the Restrictions section. Check “Schedule form” and enter only a Start and End Time; do not enter dates. The plugin will automatically set today as the start and end date and will handle updating it every day.

Daily Form Schedule configuration

That’s it! Your form now has a daily schedule. It can take evenings off, same as you.

Preview mode will always show the form, regardless of the daily schedule. Use GP Live Preview to preview how the form will behave once it’s added to a page.

Weekly Schedule

The snippet also supports weekly schedules. To set a weekly schedule, simply specify the numeric day of the week in the Start and End Date inputs. The numeric days translate where Sunday is 0 and Saturday is 6, with the other days represented by the numbers in between.

For example, to schedule the form Monday–Wednesday, set the Start Date to 1 and End Date to 3.

Weekly Form Schedule

Questions? Feedback?

We’d love to hear your feedback on this simple plugin. Does it make your life easier? Do you have any features on your wishlist? Share your thoughts in the comments below!

Comments

    1. Samuel Bassah
      Samuel Bassah Staff June 26, 2023 at 9:14 am

      Hi Patrick,

      We do not have a solution to auto submit the form on a specific time. I’ll contact you via email to request for more information so we can submit this as a feature request.

      Best,

  1. Courtney
    Courtney September 15, 2022 at 2:58 pm

    Is there a way to schedule the form to only display Monday – Friday 8AM-5PM? I can follow the instructions above to set it with the start date as 1 (Monday) at 8am and the end date as 5 (Friday) at 5pm. But I want it to be open Monday 8-5, Tuesday 8-5, Wednesday 8-5, Thursday 8-5, and Friday 8-5 – so that is is closed from 5:01pm-7:59am in between each weekday and is closed on the weekend. Is there a way to do that?

    Thanks,

    Reply
    1. Samuel Bassah
      Samuel Bassah Staff September 15, 2022 at 3:27 pm

      Hi Courtney,

      This is a default functionality of Gravity Forms and unfortunately, it doesn’t support what you want to do. A workaround will be to use our GP Conditional Logic Dates Perk to hide the submit button if the time is before 8 am and after 5 pm on weekdays. This would however only hide the submit button and not the entire form.

      Best,

  2. mohammad
    mohammad July 24, 2022 at 5:31 pm

    Hello I have a form in which I select a number of names and mobile numbers from the list every time and send the form This is an attendance form The problem I have is that I cannot send messages to all the people whose names I have selected (by their names). Actually, I don’t want a single message to be sent to everyone I want every message to be sent to the person’s name Can I do this with this plugin?

    Reply
    1. Samuel Bassah
      Samuel Bassah Staff July 25, 2022 at 11:51 am

      Hi Mohammed,

      I doubt this snippet would work for what you’re trying to do, but we’ll need more information on your use case and form setup to determine if we can assist you with a solution. If you have an active Gravity Perks license, you can get in touch with us via our support form so we can look into this further.

      Best,

  3. Waqas Ansari
    Waqas Ansari April 12, 2022 at 6:54 am

    Hi,

    I want to add user details from “Form Pending Message” and Want to tell the user (students) to test/quiz start time with countdown. at leat showing quiz start time

    Please guide me.

    Thanks

    Reply
  4. Bob Michek
    Bob Michek March 4, 2021 at 10:46 pm

    How would I make a golf course tee-off time booking schedule? What ingredients would I need?

    • It needs to be in increments of 15 min or 30 min.from 7:00am to 6:30 pm daily, but only one set of up to four people can book a time.
    • Each day would be a new date (schedule does not show previous days unless it is the next week) and golfers could book in advance, of course.
    • Payments could be accepted and would they be through a GF PayPal or Stripe Add-on?
    Reply
    1. Samuel Bassah
      Samuel Bassah Staff March 5, 2021 at 9:50 am

      Hi Bob,

      This is an interesting Use case. I would think this should be possible with a combination of Perks and some snippets. You could show the different available Times in a Dropdown field and use the GP_Limit_Choices_Field_Group snippet to group the Dropdown field and a Date field to allow users to make advanced bookings. You can also use GP Limit Choices Perk to set the limit on the different Times. We have an article with a setup that is similar to this but different use case here: https://gravitywiz.com/how-to-build-a-curbside-pickup-form/

      You can get in touch with us via our Support form if you have a Gravity Perks License so we can assist you to set up your form in case you face any difficulties.

      Best,

  5. Mark D
    Mark D January 12, 2021 at 1:43 pm

    Will this perk allow to limit entries by a certain amount per day? For example, 3 form submissions – “orders” – per day? Thanks! M

    Reply
    1. Mark D
      Mark D January 12, 2021 at 3:52 pm

      Cool! And with Limit Submissions, we can set a limit for orders for a day? Would it be set to the amount ordered for that day, or is it the amount that can be submitted on a day? I can message you directly if that is preferred, but we don’t want to cap the amount of daily submissions but instead be able to limit three orders say for example February 11th or something. Make sense?

  6. Jake Edwards
    Jake Edwards August 14, 2020 at 2:16 am

    Hi,

    Question regarding David Smith’s comment. I just want to clarify that it is possible to limit the availability of the form to Monday – Friday 9AM – 5PM. So the form can take weekends off too.

    Reply
    1. Samuel Bassah
      Samuel Bassah Staff August 14, 2020 at 5:27 am

      Hi Jake,

      Yes, that should be possible by entering the applicable day of the week number into the start and end date inputs as explained in the plugin documentation. Another solution will be to use our GP Conditional Logic Dates to only show the submit button from Monday-Friday and between 9 am- 5 pm.

      Best,

  7. Mohammad Izzat bin Mohd Amin
    Mohammad Izzat bin Mohd Amin July 1, 2020 at 12:17 am

    Is it possible to modify the code to instead have a form that automatically activates for only three days weekly instead of resetting daily?

    Reply
    1. Ryan Donovan
      Ryan Donovan July 1, 2020 at 9:12 am

      Hello Mohammad, excellent question. Currently the snippet only supports a start and end date and does not have conditional logic to filter our certain days. Could you please let us know know more about your intent, as we may be able to come up with a different solution.😀

    2. Mohammad Izzat
      Mohammad Izzat July 2, 2020 at 10:36 am

      Basically, I’m trying to make a form be only available on Monday to Wednesday, every week.

      So, it opens on Monday 8:00am, up to Wednesday 1:00pm, every week.

      Is it possible to have this particular schedule automated?

      Thanks a bunch!

    3. Ryan Donovan
      Ryan Donovan July 2, 2020 at 10:48 am

      Hello Mohammad, Unfortunately, we do not have a ready-made solution for this but I will forward this request to our development team and see if we can add support for something like this in the future. Thank you.

    4. David Smith
      David Smith Staff August 8, 2020 at 8:00 am

      Just following up here for the benefit of other users. Weekly scheduling is now supported!

  8. JASIM
    JASIM June 4, 2020 at 9:16 am

    The minutes on this scheduling only accepting 15 minutes range (15,30,45) How we can customize this? Eg: i want to set this form just 20 minutes only

    Please advice

    Reply
    1. Ryan Donovan
      Ryan Donovan May 23, 2020 at 4:24 pm

      Hello Teresa, Did you navigate to your Form Settings and scroll down to the Restrictions section. Check “Schedule form” and enter only a Start and End Time? Make sure not to select dates as the plugin will automatically set today as the start and end date and will handle updating it every day.

      If you’re a Gravity Perks customer, feel free to drop us a line and we can investigate further.

  9. Jessica
    Jessica March 24, 2020 at 3:07 pm

    Hi, I can’t seem to get this plugin to work after installing in WordPress, activating and then restricting the hours. Is there anything I might be missing?

    Reply
    1. Scott Ryer
      Scott Ryer Staff March 24, 2020 at 4:53 pm

      Hi Jessica,

      Make sure you’re not in Preview mode. The snippet only affects the front end, so if you don’t have GP Live Preview, you’ll need to embed the form into a post or page to test it.

      If you’re a Gravity Perks customer, feel free to drop us a line and we can investigate further.

Leave a Reply

Your email address will not be published. Required fields are marked *

  • Trouble installing this snippet? See our troubleshooting tips.
  • Need to include code? Create a gist and link to it in your comment.
  • Reporting a bug? Provide a URL where this issue can be recreated.

By commenting, I understand that I may receive emails related to Gravity Wiz and can unsubscribe at any time.

Download Plugin

Gravity Forms Daily Form Schedule

This field is for validation purposes and should be left unchanged.