How can I create a bespoke condition

  • Profile Image
    registrationsheet
    Asked on June 20, 2012 at 09:20 AM

    I need to create a rule where when a date is picked, it is validated against todays date and then allows, or disa-allows a user from progressing.
    I am trying to get a condition where my date only allows the user to move on (show the submit) when the date entered is  at least 42 after todays date or longer.

     

    Is this possible

     

    thanks

     

    Trev

  • Profile Image
    jonathan
    Answered on June 20, 2012 at 10:18 AM

    Hi Trev,

    I made a test of the date/time field... you can set a condition on its value in two means, that is 'before' or 'after' the set date.

    Example, if I want to only progress the submit button if the date provided is greater than today, then, I will set in the codition the value of the date should be 'after' than today. The button will show if date is greater.. by default it will not and if the date is lesser.

    This is the test form http://www.jotform.me/form/21714402915447

    We know that you cannot do 'computative values' within the builder alone. You will have to make use of the form source code, and add a custom function codes that will do computations when the form is embedded in your website.

    Hope this help. Please inform us if you have further inquiry.

    Thanks.

     

     

  • Profile Image
    registrationsheet
    Answered on June 22, 2012 at 08:18 AM

    Thanks Jonathon.
    I think I need to play with the source code.

    Regards

    Trevor

  • Profile Image
    jonathan
    Answered on June 22, 2012 at 09:00 AM

    Thanks for the updte Trevor.

    Feel free to contact us anytime should you require assistance on your exploration. =)