cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
hellouniverse
Nintex Newbie

How to show only next weekend dates in Ninxtex Form?

Jump to solution

Hello,

I will like to have a dropdown where I show only the next weekend  (Saturday and Sunday) dates with two times (morning and afternoon)? 

How is that possible? 

Labels: (1)
Tags (1)
0 Kudos
Reply
3 Replies
Automation Master
Automation Master
hellouniverse
Nintex Newbie

Re: How to show only next weekend dates in Ninxtex Form?

Jump to solution

Thanks. It worked as below

NWF$('.yourInputClass').datepicker('option', {
beforeShowDay: function(currDate) {
if (currDate.getDay() == 1 || currDate.getDay() == 2 || currDate.getDay() == 3 || currDate.getDay() == 4 || currDate.getDay() == 5)
return [false, ""];
return [true, ""];
},
minDate: 0,
maxDate: +1 * 7,
})
Reply
Automation Master
Automation Master

Re: How to show only next weekend dates in Ninxtex Form?

Jump to solution

perfect!

please mark correct answer.

0 Kudos
Reply