1
0
-1

Hi Experts,

Is there any way to set limit to date picker to only a month after start date. Let say 1/7/2019 is the start date. So user can only choose any date between 1/7/2019 to 31/7/2019 only

    CommentAdd your comment...

    1 answer

    1.  
      2
      1
      0

      Hi

      Attached is a small demo app that give you an example on how to validate the end date where end date + 1 month, using a hidden field to store the (one month from today) date via a default value hash variable "#date.MONTH+1.yyyy-MM-dd#". (See Hash Variable#DateHashVariable ).

      This is set via the Design Form > End date > Validation : End Date Field ID = oneMonthFromToday (which is the hidden field that will store the date one month from today).

      I guess you will get a better idea when you run this app and view the form properties.

      APP_44401248_date_one_month_val.jwa

      1. monday

        Hi Matthew King what about if the interval not fixed. means the later date can only be selected as long as its in the same month of the start date?

      CommentAdd your comment...