Anyone have JavaScript that will set the Date Selection on the SC form to max of 365 days. I'm looking to be able to grey out any date beyond 365 days of when the form is being submitted.
Thanks
Hi Jared,
You can use a JavaScript expression similar to the following for the 'Maximum Value' date field attribute:
$(new Date().getTime() + 31556952000)
Where 31556952000 is a year in milliseconds.
Thanks!
Jason
Jason,
Exactly what I was looking for. Thanks.