Set date conditions

  • Profile Image
    Forthenvironmentlink
    Asked on May 22, 2012 at 08:02 AM

    Hello,

     

    Is it possible to set a date condition?. In my form there is a start date and a finish date for each project. I need the finish date to be later than the start date, is there a way I can set a condition so if the applicant chooses by mistake an earlier date, the system will flag that error?

    Another question on the same line. Is it possible to have a deadline date as well. For instance the project end date has to be before 18 March 2013, so again the system flags an error when the date is later than that?

     

    Many thanks

    This is my form

    http://form.jotformeu.com/form/21302328285346

    Amparo

  • Profile Image
    NeilVicente
    Answered on May 22, 2012 at 08:51 PM

    Unfortunately, no, we do not have such a feature. Our conditions system can only compare a date field with an exact date value, and not with another date field.

    We might have this implemented in the near future, although I can't guarantee for sure. In any case, we will let you know of updates with regard to this feature.

  • Profile Image
    Forthenvironmentlink
    Answered on May 25, 2012 at 09:22 AM

    Thanks for your answer.

    In that case you mean that you can set a condition for the date in the same field, i.e. that the date entered in that field is not later than ddmmyyyy? if so, how do i do that?

    thanks

     

    Amparo

  • Profile Image
    jeanettebmz
    Answered on May 25, 2012 at 03:57 PM

    Hello Amparo

    To expand what my colleague has explained to you, you can only set a condition using data obtained from date field (either a Birthday Picker or the Calendar).

    For example , the conditions wizard will use an EXACT date value  and then setup a BEFORE of AFTER condition - THEN SHOW/HIDE  {a field}

     

    Hope we have the feature you need implemented in the near future.

    Best regards

    Jeanette

  • Profile Image
    Forthenvironmentlink
    Answered on May 29, 2012 at 05:29 AM

    Dear Jeanette,

    Thanks for your email.

    I have tried setting up the condition as you explained but it did not work.

    The conditions are:

    if date is after yyyymmdd then show "you must complete before this date..."

    if date is before yyyymmdd then hide "you must complete before this date..."

    when I input a later date than the conditioned one, the form doesnt show the the "you must message"

    I wonder if you can help

    Amparo

     

  • Profile Image
    idarktech
    Answered on May 29, 2012 at 07:52 AM

    Hi Amparo,

    Can you try using Free Text HTML tool for your 'you must' message? As far as I know, form collapse tool and page-break can't work together.

    I have here a cloned form of yours, I've tried it with free text and everything seems to work fine. Kindly check it here: http://form.jotform.me/form/21493200707446?. FYI, the date in this condition is 2013-03-18

    Try and let us know what your results are. Thanks!

  • Profile Image
    Forthenvironmentlink
    Answered on May 29, 2012 at 07:59 AM

    Thanks!

    That's what I originally tried and works fine. But the problem I have now is that the applicant can choose a later date (2013 is correct) and can carry on with the application. I don't want them to be able to carry on if their date is later than 2013-03-18, maybe get a message warning and their only option is to go back and revise the date. is this possible?

    Thanks again

     

    Amparo

     

  • Profile Image
    idarktech
    Answered on May 29, 2012 at 08:22 AM

    Amparo,

    I think that's possible. Kindly please check this: http://form.jotform.me/form/21493200707446

    If this is correct, kindly clone this form and check the condition settings to figure it out. I've also injected a piece of css code to hide specific pagebreak button.

    Let me know if I've missed something. Thanks!

  • Profile Image
    Forthenvironmentlink
    Answered on May 29, 2012 at 08:54 AM

    Hello,

    Thanks so much for your prompt reply! I have ammended my form as per your advice and it works!

    Amparo