Good Day Everyone,
I am trying to timestamp a field if a checkbox is ticked. I am using the following code.
<SCRIPT>
function Updatetocasd()
{
if (document.getElementById("EditRecordccasd").checked==true)
{
document.getElementById("EditRecordtocasd").value="[@cbTimestamp*]";
}
document.getElementById("caspioform").onsubmit = Updatetocasd;
</SCRIPT>
But it is not doing anything. Please help