Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
690
howto set min/max date in webdatepicker in javascript?
posted

Hi

I'm using two webdatepickers in a webdialoguewindow (from - to)

The user should be able to choose a timespan up to one year maximum, so I want to set maxdate of [to] to [from].getValue()+365 if [from] was changed

and mindate of [from] to [to].getValue()-365 if [to] was changed.

Can this be done in javascript?