Jump to content

buildmy401k

Members
  • Content Count

    7
  • Joined

  • Last visited

  1. Hello, I am looking for some help. I was trying to create a html link in a list report to open a datapage in a lightbox format. I tried to use caspio's recommended popup maker but I prefer to use a lightbox style. Would someone be willing to provide me the code to paste into the html fields of the report datapage for the link? Thanks, Allen
  2. Xiang, Thank you so much for the help. Your JS worked perfectly!
  3. Hello I am trying to perform two calculations and autosumbit the page, however only the second calculation is being performed when the page is autosubmitted. Please advise. <SCRIPT LANGUAGE="JavaScript"> function calculate() { var v_Current_Plan = parseFloat(document.getElementById("InsertRecordCurrent_Plan").value); var v_Current_Fee = parseFloat(document.getElementById("InsertRecordCurrent_Fee").value); var v_Rate= .08; var v_total = (((v_Current_Plan * v_Rate) + v_Current_Plan) - (((v_Current_Plan * v_Rate) + v_Current_Plan) * v_Current_Fee)); document.getElementById("InsertRecordCurrent_Plan").value = Math.round(v_total); } { var v_New_Plan = parseFloat(document.getElementById("InsertRecordNew_Plan").value); var v_New_Fee = parseFloat(document.getElementById("InsertRecordNew_Fee").value); var v_Rate= .08; var v_total = (((v_New_Plan * v_Rate) + v_New_Plan) - (((v_New_Plan * v_Rate) + v_New_Plan) * v_New_Fee)); document.getElementById("InsertRecordNew_Plan").value = Math.round(v_total); } /* On submitting the webform, the function calculate is executed */ document.getElementById("caspioform").onsubmit=calculate; </SCRIPT> <SCRIPT LANGUAGE="JavaScript"> function calculate() { var v_Current_Plan = parseFloat(document.getElementById("InsertRecordCurrent_Plan").value); var v_Current_Fee = parseFloat(document.getElementById("InsertRecordCurrent_Fee").value); var v_Rate= .08; var v_total = (((v_Current_Plan * v_Rate) + v_Current_Plan) - (((v_Current_Plan * v_Rate) + v_Current_Plan) * v_Current_Fee)); document.getElementById("InsertRecordCurrent_Plan").value = Math.round(v_total); } { var v_New_Plan = parseFloat(document.getElementById("InsertRecordNew_Plan").value); var v_New_Fee = parseFloat(document.getElementById("InsertRecordNew_Fee").value); var v_Rate= .08; var v_total = (((v_New_Plan * v_Rate) + v_New_Plan) - (((v_New_Plan * v_Rate) + v_New_Plan) * v_New_Fee)); document.getElementById("InsertRecordNew_Plan").value = Math.round(v_total); } /* On submitting the webform, the function calculate is executed */ document.getElementById("caspioform").onsubmit=calculate; </SCRIPT> <script> if(document.getElementById("caspioform")) { document.getElementById("caspioform").style.display = 'none'; setTimeout('document.forms["caspioform"].submit()',0); } </script>
  4. Hello, I am trying to find a solution to a problem I am having where after submitting an update form I am forced to log out and log back in before I can pull the results submitted into a combined chart/report. Is there a way to auto refresh this report so I do not have to log out every time? Thanks, Allen
×
×
  • Create New...