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 create a bespoke condition

    Asked by registrationsheet 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





  • Profile Image
    JotForm Support

    Answered by jonathan 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.




  • Profile Image

    Answered by registrationsheet on June 22, 2012 at 08:18 AM

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



  • Profile Image
    JotForm Support

    Answered by jonathan 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. =)