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.

Date-dependent conditional logic

  1. paulfank
    Member

    First, thank you for such a beautifully simple and practical plugin.

    I'm trying to create a registration form for a conference. There are three registration options: Individual, group, and student/senior.

    I'd like to create three different multiple choice sets with Early Bird pricing, regular pricing, and late registration pricing. I was looking for a way to make these conditional: if today's date is before the early bird cutoff date, only the early bird options are visible; if between the early bird date and the late reg. date, the regular pricing; and after the late date, the late pricing.

    I tried inserting a hidden date field and thought I could make the three pricing options conditional on the date, but that doesn't seem to work. I see others in this forum asking similar, but maybe more complex, questions, and the answers all seem to involve jQuery.

    I don't know the first thing about jQuery and my client needs this up ASAP, so if it involves jQuery, I'll just put all options up and leave it up to the user to determine which to choose. But I just want to make sure I'm not overlooking something simple.

    Posted 9 years ago on Saturday September 11, 2010 | Permalink
  2. gmcalp
    Member

    Actually, this would help me out with an event registration form, though I would only have 2 price sets.

    Posted 9 years ago on Saturday September 11, 2010 | Permalink
  3. Conditional Logic only works on selection fields (drop down, radio button and checkbox). It doesn't work on the date field so currently there is no way to do this without a customization to the code or via jQuery.

    Posted 9 years ago on Sunday September 12, 2010 | Permalink
  4. paulfank
    Member

    Thanks. That's what I figured, but had to ask. Doesn't help me in this situation, but gives me yet one more reason to learn about jQuery.

    Posted 9 years ago on Monday September 13, 2010 | Permalink
  5. ZeadsDead
    Member

    For anyone reading this post, here is how you use conditional logic based upon a certain date:

    http://gravitywiz.com/use-gravity-forms-conditional-logic-with-dates/

    Posted 7 years ago on Thursday March 21, 2013 | Permalink
  6. Thanks for sharing that link.

    Posted 7 years ago on Sunday March 24, 2013 | Permalink

This topic has been resolved and has been closed to new replies.