Jump to content

craigsherman

Members
  • Posts

    3
  • Joined

  • Last visited

craigsherman's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Thanks, great resource. I actually fixed it. What you need to do is strip out the
  2. Here is the revised calculate function, I incorrectly had () at the end. It still doesn't work... document.getElementById("caspioform").onsubmit= calculate;
  3. I have a javascript file that is larger than 10,000 characters so it cannot be inserted into the footer of my Update Datapage. Caspio sent me info on how to place the javascript file on my server and reference it in the footer of my Datapage. It doesn't work, even on a very simple test. Any ideas why? Here's what I have... URL of test page: http://b3.caspio.com/dp.asp?AppKey=acb7 ... e4h1d9c3f2 Field names: 'Entered' is the entry field. 'Calculated' is the output field. (the script just adds 7 to the Entered value) In the HTML block: In the Javascript file: function calculate() { var entered = document.getElementById("EditRecordEntered").value; var output = (entered+12); document.getElementById("EditRecordCalculated").value = Math.round(output); } document.getElementById("caspioform").onsubmit= calculate();
×
×
  • Create New...