I think I've got your solution, crys. Here we go:
You'll need to open up the edit_entry file, I believe it's edit_entry.tmpl.
Put this javascript in the HEAD section:
CODE
<script language="JavaScript">
<!--
function changeDate(form)
{
var date = new Date();
var d = date.getDate();
var day = (d < 10) ? '0' + d : d;
var m = date.getMonth() + 1;
var month = (m < 10) ? '0' + m : m;
var yy = date.getYear();
var year = (yy < 1000) ? yy + 1900 : yy;
var hour = date.getHours();
var minute = date.getMinutes();
var second = date.getSeconds();
var totaldate = year + '-' + month + '-' + day + ' ' + hour + ':' + minute + ':' + second;
document.thisform.created_on_manual.value = totaldate;
}
//--></script>
Then, you want to give the form a name, so insert name="thisform" into the FORM tag.
CODE
<form name="thisform" action="blah",etc>
Then, wherever you want your button or link (i just used a link), insert this code:
CODE
<a href="javascript:changeDate(thisform);">This will change the date</a>
I'm not a big javascripter, just cut and pasted code from around the Net. It's a great way to learn to javascript!
Hope that works for you!
graham