Jump to content

michaeltx

Members
  • Content Count

    3
  • Joined

  • Last visited

  1. I hope that someone can help. I am trying to implement this script in my datapage, but it will not work. I copied the following code into the footer of my datapage: <SCRIPT LANGUAGE="JavaScript"> function concatenate() { var position1 = document.getElementById("InsertRecordPosition1").value; var position2 = document.getElementById("InsertRecordPosition2").value; var allpositions = position1 + position2; document.getElementById("InsertRecordAllPositions").value = allpositions; } document.getElementById("caspioform").onsubmit=concatenate; </SCRIPT> The following fields are in my table: position1 position2 allpositions When I complete my form it will not combine position1 and position2 as it is supposed too. I am testing the page deployed on my server. I also tried testing it not deployed and neither way will work. In my datapage I have included the field "allpositions" as a hidden field. What am I doing wrong? Please help. Thanks
×
×
  • Create New...