Setting DATE INPUT control using CAF SCRIPT setValue ??

If I call setValue (in script) on a DATE INPUT control and pass it a string (10/01/2001) it blows up. If I pass it a java script Date object it blows up too.

How is this supposed to be used?



first of all, make sure the string comply with the date pattern specified in your DATE INPUT control.

otherwise, you may set the value of the textbox directly.