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 5 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. Hello, I have a registration form for Chapters of our organization that can represent more than one state, or even country. I use a script that dynamically shows listboxes for state or province depending on whether the US or Canada is selected. They both post to the same field, and so Virtual Fields are utilized. This all works fine, but I need those Virtual Fields to be Multi-Select. I do utilize the suggested script already, and I can get the Multi-Select to work on the form. The problem is that even though my two Virtual Fields are Multi-Select, only one selection makes it to the table. What is wrong with my script? Country WORKS, it is not a Virtual Field, as does Languages_Spoken. Virtual 2 and Virtual 3 WILL Multi-Select, but ONE selection makes it into the table. I hope this explains clearly. Form is at https://c3gaf515.caspio.com/dp.asp?AppKey=54ce4000db281c70d086433eb0fc Thanks <SCRIPT LANGUAGE="JavaScript"> /* "fieldName" is the variable name for the listbox type form element field. */ var fieldName = "InsertRecordLanguages_Spoken"; var x=document.getElementsByName(fieldName); x[0].multiple=true; /* "fieldName2" is the variable name for the listbox type form element field. */ var fieldName2 = "InsertRecordCountry"; var x=document.getElementsByName(fieldName2); x[0].multiple=true; /* "fieldName3" is the variable name for the listbox type form element field. */ var fieldName3 = "cbParamVirtual2"; var x=document.getElementsByName(fieldName3); x[0].multiple=true; /* "fieldName4" is the variable name for the listbox type form element field. */ var fieldName4 = "cbParamVirtual3"; var x=document.getElementsByName(fieldName4); x[0].multiple=true; </SCRIPT>
  3. How can I have a listbox in which user can select more than one name to send email to?
  4. How can I enable multi select for multiple lust box on search form I created using submission page?
  5. 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>
  • Create New...