How to date conditional logic

Home Forums Quform WordPress How to date conditional logic

This topic is: resolved
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #17988
    Leodore
    Participant

    Hi there,
    I am wanting to capture a persons date of birth and from that need to work out if they are over 18 or not…

    If under 18 show certain elements in a form
    If over 18 show different elements in a form

    How would I go about achieving this? Any help would be greatly appreciated

    #17996
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #17999
    Leodore
    Participant

    Thanks very much Ally, works perfectly 🙂

    #18055
    Leodore
    Participant

    Ok new challenge… Apparently I didn’t think everything through properly.
    I need the date to determine an extra variable.
    So for the conditional logic I need 3 choices instead of the initial two.
    They are:
    1. Over 18
    2. Ages 5 to 18
    3. Under 5
    4. Unknown

    Any help would be greatly appreciated. All my attempts at changing your above code have been futile… Time to call in the experts 🙂

    #18064
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2025 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy