Jump to content

Barbara

Caspio Ninja
  • Posts

    79
  • Joined

  • Last visited

Community Answers

  1. Barbara's post in Moderating Additions To A Calendar was marked as the answer   
    Yes, this is explained in the tech-tip here http://howto.caspio.com/tech-tips-and-articles/common-customizations/how-to-create-an-approval-process-for-new-submissions/
     
    Cheers,
    Barbara
  2. Barbara's post in Passing Parameters from Multi-Select Listbox was marked as the answer   
    InsertRecord prefix is used for submission form field ids so it's not relevant to search form. In search form the search fields start with Value1_1, second field will be value2_1, and so on. Now if you have deleted and added fields, this order might be different so it is always recommended to use a developer tool such as Firebug to inspect the element and find the proper id, your code should be like:

    var fieldName = "Value1_1";
    var x1=document.getElementsByName(fieldName);
    x1[0].multiple=true;
    function splitAndParse()
    {
    var result = "";
    var cleanResult = "";
    for (var i = 0; i < x1[0].length; i++) {
    if (x1[0].options.selected) {
    result += "\""+x1[0].options.value+"\"" + " OR " ;
    }
    }
    document.getElementById("cbParamVirtual1").value = result;
    }
    document.getElementById("caspioform").onsubmit=splitAndParse;

  3. Barbara's post in Auto Submit was marked as the answer   
    Hi Mark,
    Here is a code sample to autosubmit a form.
    <script> function f_submit() { document.getElementById("caspioform").submit(); } window.onload = f_submit; </script> Cheers, Barbara
×
×
  • Create New...