-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I have 2 date boxes in my application where i have to set the default value as the current date for 1 date box and for the other, default value should be one month less than the current month.
Ex: DateBox1 - 23/08/2010
DateBox2 - 23/07/2010
Hope Someone could show me the way to do it. Thank You in advance.
You can easily set the datebox value from zscript on the same page
DateBox1.setValue(new Date());
Asked: 2010-08-23 06:00:25 +0800
Seen: 440 times
Last updated: Aug 23 '10