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

    Conditional Logic : How to set a condition based on a day of the week ?

    Asked by Stevenbuller on January 23, 2016 at 01:40 AM
    Please escalate this, I am trying to perfect a quoting system which will depend on the day of the week for our availability.  Please Please!
  • Profile Image
    JotForm Support

    Answered by Kevin_G on January 23, 2016 at 01:45 AM

    I checked our current conditions wizard and I can see that it's possible to use  conditions based on days of the week.

    You may use it with Show/Hide fields or even calculate a Total.

    Hope this helps.

    Thanks.

  • Profile Image

    Answered by grade4pagasa on January 23, 2016 at 03:49 AM

    Hi everyone. 

    * I'm not a coder or designer, so please, pardon my logic and method.

    I achieved the desired end-result by using a conditional logic to test if the dateString() output contains a specified day of week (Mon, Tue, Wed, ...) and then showing only the appropriate fields with the day of week of the selected date. 

    Here's the demo form.

    Hope this helps. 

    Randy

     

  • Profile Image

    Answered by grade4pagasa on January 23, 2016 at 04:03 AM

    Hi Stevenbuller. 

    Kevin_G's recommendation also works. I just found out about this functionality in the Conditional Logic now. 

    --------------------------------------

    Hi Kevin_G

    When was the DateTimefield Day of Week functionality implemented? 

    I've never seen this until today. 

    Thanks for the tip !

    - Randy

  • Profile Image

    Answered by victor on January 23, 2016 at 08:59 AM

    Hi grade4pagasa,

    Thank you for your assistance on this thread. This functionality was implemented a short time ago. Our team is trying to improve the application and are working their best to get all the bugs and feature implemented as soon as possible.

    Have a great weekend.