I am trying to write a legal script in JAVA DC. The script i have currently will only put today's date and will not allow me to input any other date. I would like to be place any date in the field. Can anyone assist me? I am using this scritp:
I am trying to write a legal script in JAVA DC. The script i have currently will only put today's date and will not allow me to input any other date. I would like to be place any date in the field. Can anyone assist me? I am using this scritp:
var oDate=new Date();
var sDay+util.printd("d",oDate);
varaSuffix=["","st","nd","rd","th","th","th","th","th","th"."th","th","th","th","th","th","th","th","th","th","th","st"];
var sDD=sDay+aSuffix[+sDay]
event.value=(sDD+util.printd("DAY OFmmmm,yyyy", oDate)).to uppercase();