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

  • Profile Image
    Stevenbuller
    Asked 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
    Kevin_G
    Answered 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
    grade4pagasa
    Answered 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
    grade4pagasa
    Answered 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
    victor
    Answered 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.