Hi Mathilda,
Thanks a lot for the reply.
I tried testing all the possible scripts discussed in forum and it all did not work.
And now I know the reason why.
Your response is what I badly needed.
Thanks heaps.
Ivy
Hi
I've tried using this on my footer but it does not work.
My datapage is a results page with inline edit set to yes.
Below is my script:
<SCRIPT LANGUAGE="JavaScript">
function setTime(){
var v_chk=document.getElementById('EditRecordConfirmed').checked;
if(v_chk==true)
{
document.getElementById("EditRecordDateConfirmed").value="[@cbTimestamp]";
}
}
document.getElementById("caspioform").onsubmit=setTime;
</SCRIPT>
Thanks.
Ivy