PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

can I define a time between 18:30 to 22:00

  1. is it possible to define a time in between, 18:30 - 22:00 , for the time field.
    that the user are only allowed to type a time in between 18:30 - 22:00?

    Posted 7 years ago on Sunday November 27, 2011 | Permalink
  2. Hi there, did you ever find out how to do this? I'm wanting to prevent a user from selecting a time that is within 5 hours of the current time. Any ideas?

    Posted 6 years ago on Thursday August 23, 2012 | Permalink
  3. David Peralty
    Administrator

    We don't have any thing built-in for this. You would have to have two drop down fields, and pre-populate them using gform_pre_render using custom developed PHP code to grab current time, and define the options in the list for the drop down you want customized.

    Posted 6 years ago on Thursday August 23, 2012 | Permalink