Field/Form Rule Help

Field/Form Rule Help

I have a need to take a custom date field and force that to be the duebydate

I thought this might work as a "form load" option but its not working -- any assistance would be appreciated

var x=$CS.getValue("WorkOrder_Fields_UDF_DATE6");
$CS.setValue("DUEBYDATE",new Date(x));  

                New to ADManager Plus?

                  New to ADSelfService Plus?