Jump to content

tbourgeois

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. Thank you May Music, This is what I ended up with. What do you think? .............................................................................................................................. <SCRIPT LANGUAGE="JavaScript"> document.getElementById('caspioform').onchange = function(){ //This takes the date and time and concatenates into one variable //!!! If on submission form use 'INSERT' record //!!! if on management form use 'EDIT' record // Date var dt1 = document.getElementById('cbParamVirtual1').value; var dt2 = document.getElementById('cbParamVirtual5').v
  2. Hello, I am trying to edit the Java Script in the footer of a Submission Form to allow me to Concatenate Two separate Date/Time Fields. The first is a "Trip Start Date and Time" and the Second is a "Trip End Date and Time" as shown in the following attachment: The issue I'm having is that I can make one operate correctly when alone in the footer but not when I add the second. It was suggested to me that the issue may lie in the "getElementById" function and having it "defined twice" and that one may be overwriting the other. Attached are two snips of the code I have in the foote
×
×
  • Create New...