Changes

Jump to: navigation, search

Custom Field Type: Special – Browser Script

286 bytes added, 21:01, 17 October 2007
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]]
43
edits

Navigation menu