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.

Conditional Logic based on date?

  1. gressli
    Member

    Is it possible to use Conditional Logic based on date chosen in a date picker?
    For instance. I have a birth date picker, and want some fields only to be shown if the date chosen is 18 years or older. Is that possible?

    Posted 11 years ago on Wednesday December 12, 2012 | Permalink
  2. David Peralty

    What are you using for your birth date picker? You need to isolate the year value so it can be compared to in conditional logic. So if you had a dropdown of years, then someone selects a year, you can compare and say show field if year is great than 1994.

    Posted 11 years ago on Wednesday December 12, 2012 | Permalink
  3. gressli
    Member

    Thanks for getting back to me! :)

    I'm using the date field under advanced fields, but I couldn't choose that in the Conditional Logic choice on the other fields... a simple birth year should work well, but I want the whole date.. I guess I can create seperate drop downs though.. hm.

    Posted 11 years ago on Wednesday December 12, 2012 | Permalink
  4. David Peralty

    Yeah, there is no easy way to split out the year on the date picker field to do conditional logic against it. So separate drop downs is the fastest way.

    Posted 11 years ago on Wednesday December 12, 2012 | Permalink