43
edits
Changes
no edit summary
* '''Style''': N/A
* '''Tool Tip''': N/A
<u>'''Example'''</u>
Setting End Date to current date as long as the status is not equal to Close
if ([status] != 'Closed')
{
var t=new Date();
var year = t.getFullYear();
var mon = t.getMonth() + 1;
var day = t.getDate();
document.form1.enddate.value=year+'-'+mon+'-'+day;
}
[[Category:Custom Fields]]