Jump to content

Search the Community

Showing results for tags 'multi-select'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Caspio Bridge
    • Caspio Apps for Ukraine
    • General Questions
    • Caspio JavaScript Solutions
    • Tables, Views and Relationships
    • Import/Export and DataHub
    • DataPages
    • Deployment
    • Security, Authentications, Roles, SAML
    • Styles and Localizations
    • Parameters
    • API and Integration
    • Calculations and aggregations
    • User JavaScript and CSS Discussions

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start




Website URL






Found 9 results

  1. How to auto select all entries in multi-seelct dropdown when a datapage loads. I have selected the option "select All" from the page settings and that is not working. Caspio has identified a bug in the system and they are planning on fixing it with the new release. In the meantime, I am seeking a Javascript solution on how to select all entries in multi-select drop down when a page loads.
  2. I have built a Caspio submission form that contains 8 fields that collect data using a multi-select string field. Upon submission of the data, I need to send the data to FormStack. I am using Zapier to do so. The problem I am running into is that Zapier does not read the multi-select data field. Does anyone know of a work around of how I can collect the data via a multi-select field in a submission form and send the data to another database?
  3. How can I show the values that are selected on a listbox in submission page in a virtual field?
  4. Would you be able to help me figure out what I'm doing incorrectly. I have a cascading drop down in a submission form that has multiselect enabled (Services). What I want it to do, is that the values of the selected service, be copied to the Description Field as values separated by a comma. Here is the scripts I'm using. It just generates a value of "undefined," so I know something is wrong, but I can't figure out what. Any help is greatly appreciated. var x=document.getElementsByName("InsertRecordServices"); x[0].multiple=true; document.getElementsByName("InsertRecordServices")[0].onblur = function () { document.getElementById("InsertRecordDescription").value = document.getElementsByName("InsertRecordServices").value; }
  5. Hello, I am trying to make a fairly simple database app. It actually started as a simple Google sheet. There is just one trick to it - there is one field for which I need to allow multiple values, but I want each of those values to be validated from a pre-approved list of values. It seems this is not possible in a Google sheet, so I figured I would try Caspio to do it. I'm happy to have the list of values be it's own table and even to have the selection of those values be on a separate form from the creation/editing of the primary record. But I can't really figure out how to do this. Does anyone know of a tutorial that explains this? Thanks
  6. You'll like this one! I have a virtual listbox in a submission form. I've made it multi-select by using the usual JS code. I want the user's selection(s) to return when a new search is made, so I went to the advanced tab of the datapage and put the same parameter that I pass on exit, into load. Everything works well if I select just 1 entry in the listbox (ie, that same entry comes back as highlighted when I do a new search). But if I multi-select an entry, when I carry out a new search those previous entries don't highlight. Instead, I see a new entry at the bottom of the listbox with all my previous entries separated by commas. Help! Also, how can I make cascading listbox selections return with a new search (both single and multi-select). There's no parameter 'load' feature in the advanced tab for that element. Many thanks
  7. I am trying to separate my search and report in two pages, I have 3 virtual fields on my page one is listbox(virtual 3) and the other two are cascadings. I cannot make this to work so when I multi select from listbox, it pulls up cascading values. It should also send the selection to next page separated by OR instead of "," . Here is my code: <script type="text/javascript"> var o_els = new Array("cbParamVirtual3", "cbParamVirtual2", "cbParamVirtual1"); for (var i = 0; i < o_els.length; i++) { document.getElementsByName(o_els[i])[0].multiple=true;} function f_select(){for (var i = 0; i < o_els.length; i++) {var v_fn = document.getElementsByName(o_els[i])[0].value;function splitAndParse(){var result = "";var cleanResult = ""; for (var i = 0; i < x1[0].length; i++) {if (x1[0].options[i].selected) {result += "\""+x1[0].options[i].value+"\"" + " OR " ;} if (x1[0].length > 4) { cleanResult = result.substring(0,(result.length-4)); }document.getElementsByName(o_els[i])[0].value = cleanResult; }}}} document.getElementById("caspioform").onsubmit=f_select; </script>
  8. Hi All… Joined today and my first question to the Forum (I'm a novice so please forgive me if I ask dumb things about coding)! My web form contains some search fields and a pivot table, all on one page. For searching I use a submission form with virtual fields to pass parameters to the Pivot table report. Two of my virtual search fields are “Region†(listbox), and “Country†(cascading listbox with “Region†as the Parent), but I need to have ‘multi-select’ for BOTH listboxes. Thanks to this Forum I’ve managed to get multi-select ‘sort of’ working, using JavaScript in the footer: <SCRIPT LANGUAGE="JavaScript"> /* "Note that ‘cbParamVirtual1’ = the ‘Region’ listbox (ie Parent) */ /* " ‘cbParamVirtual2 = the ‘Country’ cascading listbox. */ var fieldName1 = "cbParamVirtual1"; var fieldName2 = "cbParamVirtual2"; var x1=document.getElementsByName(fieldName1); var x2=document.getElementsByName(fieldName2); x1[0].multiple=true; x2[0].multiple=true; </script> The problem: If I select just one region in Parent listbox, I happily get all the countries associated with that region in the cascading listbox. And I can go on to multi-select those countries. Perfect! BUT, if I multi-select, say “N.America†AND “Europeâ€, then my ‘Country’ cascading listbox just states “No options availableâ€. What I want is for it to list all the countries in both , “N.America†+ “Europeâ€. Somehow my multi-selections from the Parent just aren't being recognised. (Needless to say, this all works seamlessly in a tabular report format). I’d very much appreciate any help.
  9. Hi I have filtered multiple parameters using a virtual filed and a cascading listbox. Now I would like to pass all the values /parameters ( anywhere between 1 to 30) using an auto-submit script. I wonder how easy this is to achieve? Will appreciate any heads up! Thanks in advance.
  • Create New...