Jump to content


Caspio Rockstar
  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by bahar_vm

  1. Hi Master! To get the value of the selected radio button, you can use the 'checked' property in JavaScript. Here is a good reference in w3schools which explains it: http://www.w3schools.com/jsref/prop_radio_checked.asp Example: loop through the radio button options and get the value of the selected option. The following code works in a Submission form. For Update form or Details page, replace InsertRecord with EditRecord. FIELDNAME should be replaced with your field name (the radio button field). <script> var radios = document.getElementsByName("InsertRecordFIELDNAME"); for(i = 0; i < radios.length; i++) { if(radios[i].checked) { var selectedvalue = radios[i].value; } } </script>
  2. Maybe instead of the long code above, you can try putting the following line of code in the header of your second DataPage which refreshes the DataPage every X seconds (5 in this case). If this works for you, it's a much easier solution. <meta http-equiv="refresh" content="5" > Best, Emma
  3. Hi Sergio, This is in the roadmap, you can vote for it here: http://ideabox.caspio.com/forums/164206-caspio-bridge/suggestions/3067411-pivot-table-datapage or http://ideabox.caspio.com/forums/164206-caspio-bridge/suggestions/5281459-calculation-and-aggregation-summary-reports Best, Emma
  4. Can you clarify what you mean by "Return"? If you are referring to submit the form without entering the required fields then why making them "required" first place?
  5. Hi Elena, When data in actual fields are updated through details or results page, the page shows the updated data, if the actual fields are included in the page and the report filtering configuration is not filtering the record out. Not sure why you weren't seeing the updated data, if data is not sensitive you can provide the URL of your original report where I can see the issue. Best, Emma
  6. Hi, To add to your comment, use the script provided here: http://forums.caspio.com/index.php/topic/3148-js-select-multiple-values-from-a-listbox-in-a-webform/ if you want to enable multi-select in Submission form. For Update form you can use the one that you posted above. Best, Emma
  7. bahar_vm

    Expired Record

    This article can help: http://howto.caspio.com/faq/reports-datapages/how-to-filter-reports-based-on-an-expiration-date/
  8. bahar_vm


    kandersen, Caspio Cloud Database is now public and you can see it in Zapier's app directory.
  9. Hi, How about making the username field in the table unique so each user can only submit once? Or to limit submissoin based on email address or any other unique info which is collected during submission. There is not a rule to set up on individual field to remove an item from the list if it's once selected. ~Emma
  10. Hello, Calculated fields currently are only available in Report and Details DataPages. They are not available on the table or view. If you need the calculated values to be stored in the table upon submission or update, you can use JavaScript. See an example here http://forums.caspio.com/index.php/topic/3149-js-perform-a-calculation-on-values-entered-in-a-webform/ Hope this helps. ~Emma
  11. Heatmap is not available at this time. If you are a programmer, you can integrate Caspio report DataPage with a third-party heatmap. Depending on how the heatmap collects and reads data, you may need to use WS API and/or JavaScript to integrate your Caspio database with the heatmap. Feel free to suggest the feature in http://ideabox.caspio.com/. ~Emma
  12. Hi Staci, To look up the company id from your users table you can use a field parameter in the following format: [@authfield:FIELDNAME] You can place this in header/footer, HTML blocks of your DataPages. ~Emma
  13. David, it may have caused by a new release. Please check it out as we've already fixed it and patched it out. Best, Emma
  14. Place the script below in the Footer of your details/update page. Status is my checkbox field. Change Status in the code to your field name. Time_status_edited is a hidden field to store the timestamp. Change Time_status_edited to your field name. --------------------------------------------------------------- function getT() { var prevValue='[@field:Status]'; if(((prevValue!= 'Yes') && (document.getElementById("EditRecordStatus").checked)) || ((prevValue== 'Yes') && (!document.getElementById("EditRecordStatus").checked))) { document.getElementById("EditRecordTime_status_edited").value = '[@cb:Timestamp]'; } } document.getElementById("caspioform").onsubmit = getT; </script>
  15. The script below records date/time (timestamps) when a specific field (in my case Status field) is updated. You don't need any virtual field. Place the script in the Footer of your details/update page. Status is my dropdown field (it could be a text field as well). Time_status_edited is a hidden field to store the timestamp upon updating the Status field. <script type= "text/javascript"> function getT() { var prevValue='[@field:Status]'; if(document.getElementById("EditRecordStatus").value != prevValue) { document.getElementById("EditRecordTime_status_edited").value = '[@cb:Timestamp]'; } } document.getElementById("caspioform").onsubmit = getT; </script>
  16. There is a sample script that should disables the enter key. You can place it in the header or footer of your DataPage: <script type="text/javascript"> function stopRKey(evt) { var evt = (evt) ? evt : ((event) ? event : null); var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null); if ((evt.keyCode == 13) && (node.type=="text")) {return false;} } document.onkeypress = stopRKey; </script>
  17. There is an article about how to accomplish keyword search in a report, visit the article here: http://howto.caspio.com/faq/reports-datapages/how-to-do-keyword-search-across-multiple-fields/.
  18. Calculated field in results page is generated on the fly each time results page is loaded. It cannot be saved into the table. Calculated field in web form can be saved into the table after submission by using JavaScript. In details page, you can create another field and make it hidden, then select "DataSource Fields" from "On load assign" dropdown and select your calculated field from the list. This enables passing the calculated field as parameter into the new field. Make sure passing parameter in your DataPage is enabled from the second wizard screen.
  19. Hi, User logs feature has been built in the product long time ago. Find more information about it here: http://howto.caspio.com/authentications-and-connections/users-log/ Best, Emma
  20. Hi Matthew, I recommend creating a Trial account and initiate engagement with Caspio Professional Services team. The consultations are free, they collect your requirements and provide you a quote and timeline accordingly. You'll decide should you want to proceed. Another approach is to build it yourself if you have the time and technical knowledge based on complexity of your application. Third approach is to refer to developers listed here https://www.odesk.com/groups/caspio on the right hand side you will see a list of Caspio freelancers. My recommendation is to go with Caspio Professional Services for the higher quality, maintenance and support. Best, Emma
  21. Hi Mike, To clarify, this is a known issue since Notification/Acknowledgement emails in a submission form only have access to the values that were actually inserted and they do not have access to the other values via view. We suggest using Details DataPage, which you already did:), where emails have access to all fields of the current record. If it has to be a submission form based on multi-table view, then a workaround is to redirect to a Details DP which sends the email and auto-submit using JS. ~ Emma
  22. Hi Duncan, This article should help: http://howto.caspio.com/tech-tips-and-articles/advanced-customizations/how-to-add-a-time-limit-to-submission-forms/
  23. Vote for this feature at http://ideabox.caspio.com/forums/164206-caspio-bridge/suggestions/3140597-create-a-field-that-will-accept-a-signature. Or submit new feature request. Product team reviews the feature requests list periodically and implement them into the product based on priority, popularity, and a few other factors.
  24. Hi, to display the parameter you can input the parameter in the Header/Footer or HTML block which repeats for each record. For example if the parameter passed from submission/search is called [@state] you can receive it in the HTML block same [@state]. Does this help?
  25. Hi Dominique, Caspio authentication requires logging in for the first time. But I understand the use-case of auto-login capability. You can add this request to the ideabox http://ideabox.caspio.com. Caspio product team review the requests and prioritize them for future releases. Best, Emma
  • Create New...