Skip to main content
Nintex Community Menu Bar
Solved

Only allow certain dates to be selected in Nintex forms

  • May 16, 2022
  • 1 reply
  • 96 views

Hi All

 

Is there a way to validate the date column on the Forms.

We want to have a WFH request form that only allows a date selection between Tuesday and Thursday.

 

 

Best answer by Nunezma

@Realming_Grape  You can try this:

Add the following to the CSS section in Form settings:

 

.ui-datepicker-week-end {display:none !important;}
table.ui-datepicker-calendar > thead > tr > th:nth-of-type(2) {display:none !important;}
table.ui-datepicker-calendar > tbody > tr > td:nth-of-type(2) {display:none !important;}
table.ui-datepicker-calendar > thead > tr > th:nth-of-type(6) {display:none !important;}
table.ui-datepicker-calendar > tbody > tr > td:nth-of-type(6) {display:none !important;}

 

 

 

 

1 reply

Forum|alt.badge.img+11
  • Scholar
  • Answer
  • May 16, 2022

@Realming_Grape  You can try this:

Add the following to the CSS section in Form settings:

 

.ui-datepicker-week-end {display:none !important;}
table.ui-datepicker-calendar > thead > tr > th:nth-of-type(2) {display:none !important;}
table.ui-datepicker-calendar > tbody > tr > td:nth-of-type(2) {display:none !important;}
table.ui-datepicker-calendar > thead > tr > th:nth-of-type(6) {display:none !important;}
table.ui-datepicker-calendar > tbody > tr > td:nth-of-type(6) {display:none !important;}