Hello Team,
I want to apply a javascript restriction on Datetime picker attribute on Catalog Form. The restriction should display/or allow to select the date from tomorrow onward (by default it shows/allow to select from today onward). I added the following function under onClick(property) --> Date(new Date().getTime() + 24 * 60 * 60 * 1000); However it seems not working. May I get any help or suggestion here?
Thanks
You need to put the expression in the 'Minimum Value' attribute of the date field. I just tested with the following:
$(new Date().getTime() + 86400000)
When viewing the offering from Home > Requests, 11/12 is the first date that can be selected.
Great! Thanks Jason. It worked like a magic. I confirm this is the correct answer.
ArunavaS