Jump to content


  • Content Count

  • Joined

  • Last visited

About oscarrpl

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thanks for your reply. The console doesn't show any errors now, however the script doesn't seem to be assigning the value to the "Total" field... what else could I be missing?
  2. Thanks for replying, sadly I can't use that method because it will reset everything and there are other parameters holding information that I can't just reset yet. I'm thinking maybe the answer will be to create a button with javascript and have it run the code onclick, rather than refreshing the page with a JQuery. Sadly I'm a beginner and haven't found a code snippet I can modify to do this...
  3. <script type="text/javascript"> function calculate(){ var pm1 = document.getElementById("cbParamVirtual3").value; var pm2 = document.getElementById("cbParamVirtual8").value; var pm3 = document.getElementById("cbParamVirtual13").value; var pm4 = document.getElementById("cbParamVirtual18").value; var pm5 = document.getElementById("cbParamVirtual23").value; var pm6 = document.getElementById("cbParamVirtual28").value; document.getElementById("EditRecordTotal").value = pm1 + pm2 + pm3 + pm4 + pm5 + pm6; } document.getElementById("Mod0EditRecord").onmouseover=calculate(); </script>
  4. Does anybody know how to do this without Parameter 1 reappearing when I click the link to reset parameter 2 to 0? Wow thanks for the overwhelming response
  5. I have a datapage where I need to reset some of the parameters to 0, but not all of them. How can I add a button/link that will reset certain parameter values to 0 and reload the page to show the changes? Here's what I'm trying but is not working... I have 2 parameters and need a button to reset each respective parameter, so I inserted an HTML Block with the following link: <div id="cxkg"><a href="MyDataPageLink&Parameter1=0">Delete</a></div> this reloads the page with the field cleared, however when I try to erase the second parameter with: &l
  • Create New...