Jump to content

aasker

Members
  • Content Count

    4
  • Joined

  • Last visited

Everything posted by aasker

  1. I am sending parameters via URL. However, it seems that the cache is not clearing. The documentation provided by Caspio in this regard is not working although I say cbResetParam=1. I still keep getting the old value being passed. It works fine if I logoff and logback into the website . Then it seems to remove the cache..but when i am logged in and keep submitting the records...it is taking the old values and not refreshing the cache. I have a form that sends to 2 update datapages sequentially, the first one reads values from the authentication table and then forwards parameters to 2nd form tha
  2. I would like to store the Month and Year with a submission datapage. I used this logic..but it does not seem to work <SCRIPT LANGUAGE="JavaScript"> function calculate(){ var v_currentDate=new Date(); document.getElementById("InsertRecordMonth").value = v.currentDate.getMonth(); document.getElementById("InsertRecordYear").value = v.currentDate.getFullYear(); } /* On submitting the webform, the function calculate is executed */ document.getElementById("caspioform").onsubmit=calculate; </SCRIPT>
  3. Trying to do a single record update with the script below...but it does not seem to be updating...not sure whats wrong <SCRIPT LANGUAGE="JavaScript"> function update() { var Quantity = document.getElementById("cbParamVirtual1").value; var Serving = document.getElementById("EditRecordNewDivvyMeal_Servings").value; var newqty = Serving - Quantity; document.getElementById("EditRecordNewDivvyMeal_Servings").value = newqty; } document.getElementById("caspioform").onsubmit=update; if(document.getElementById("caspioform")) { document.getElementById("caspioform").style.display =
×
×
  • Create New...