Jump to content

GeorgeSmith

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. Hi, I'm trying to time stamp a field based upon the selection that is done from a drop down menu. When the user does this they will be inside of a Details Page within a Report Form. When the user changes the "Status" field of their current task in the Details Page to "In-progress" I want a one-time time stamp of that event to be recorded in the field "StartTime". Here is the Java script I have written, and placed in the Footer of the Details Page but currently it's not working, function getT(){ if('[@field:Status]' == 'In-progress'){ document.getElementById("EditRecordStartTime").value = '[@cb:Timestamp]'; } } document.getElementById("caspioform").onsubmit = getT; I think this should be pretty straight forward, but I'm not sure why it's not working. Thanks for any help.
×
×
  • Create New...