Solved

Is it possible to restrict future dates selection in New Responsive form

  • 14 May 2020
  • 4 replies
  • 369 views

Hi,

Is it possible to restrict future dates selection in New Responsive form? 

I can only restric for past dates but not the future dates.

 

Thanks,

Devendra

icon

Best answer by butlerj 15 May 2020, 18:53

View original

4 replies

Userlevel 5
Badge +19

@devendra14321 you can do this using a validation rule.


 


In the classic designer this would be set on the control itself:



 


While in the responsive designer this would be done with a rule:




 


Hope that helps!


 


 

@butlerj , thanks. 


 


It woube be nice to let the user while entering the data instead on clicking the submit button, the form we have got more than 100 controls.


 


Also, with the data control.. the Today functionality is not wokring as expected. Once user clicks on "Today" it only highlights the date but doesn't populate in the date control field. Is this a bug?


 


Thanks again.

Userlevel 5
Badge +19

@devendra14321 check out this video and see if it'll work for you: https://www.youtube.com/watch?v=1EZV94UsML0


 

Badge

I agree that field validation is preferable to a submit rule. I’d love to see more examples of calculated/dynamic dates, either in a formula on the control or in as validation rule. For example, in a new responsive form, how would I restrict date selection to a dynamic date of [Today]+3 days? And prevent user from selecting a date prior to that future date?

Reply