What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How can i show/hide fields is a date of birth is 'between' two dates?

    Asked by CricketNSW on October 29, 2014 at 09:56 PM

    I am trying to set up a nomination form where children will be nominated into different age brackets depending on their age. U13, U14, U15 and U16. Is there a way I can work out if their date of birth falls between two specific dates then they must nominate for U13 (e.g.). I have used the 'before' and 'after' functions but these don't work overly well.

     

    E.g. If their DOB is 1st Sept 2002 or after they are U13

    If their DOB is 1st Sept 2001 to 31 Aug 2002 they are U14

    If their DOB is 1st Sept 2000 to 31 Aug 2001 they are U15

    If their DOB is 1st Sept 1999 to 31 Aug 2000 they are U16.

     

    Is there an easy way to set this up?

    Thanks

    hide fields date of birth two dates different thanks then
  • Profile Image
    JotForm Support

    Answered by Kiran on October 30, 2014 at 01:10 AM

    It is possible to achieve this requirement by using our conditions wizard. Please see the demo JotForm below to see how it works.

    http://form.jotformpro.com/form/43021222650943? 

    Following are the rules set based on the Date of Birth entered.

    Hope it works for you. Please get back to us if you have any other questions. We will be happy to help.

  • Profile Image
    JotForm Support

    Answered by Kiran on October 30, 2014 at 01:11 AM

    If you want., you may clone this JotForm to your account by following our guide below :

    http://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL 

    Thank you!