Jump to content

GoodBoy

Caspio Ninja
  • Posts

    95
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by GoodBoy

  1. Hello! Here is another forum link if you would like to 'Select All' function.
  2. Additionally, if you would like to have a 'Select All' button, then it just has the same workflow as deselecting the options. Just add this below the first code in your HTML block. <a href="#" onclick="allSelected();">Select All</a> Then, insert this in your Footer as well. <script> function allSelected(){ var elements = document.getElementById("InsertRecordFIELDNAME").options; for(var i = 0; i < elements.length; i++){ elements[i].selected = true; } } </script> Just disregard the script tag if you already have it. Hope this helps!
  3. Hello! Just want to share this another solution in deselecting all the selected options.
  4. Additionally, if you are using an Update DataPage. You can just change the InsertRecordFIELDNAME to EditRecordFIELDNAME inside the Footer code. Like this: <script> function clearSelected(){ var elements = document.getElementById("EditRecordFIELDNAME").options; for(var i = 0; i < elements.length; i++){ elements[i].selected = false; } } </script>
  5. Hello @Petra001, you might want to try this solution for the submission form. First, add an HTML block beside your listbox and paste this code. This will be the button link to clear all the options you select in the listbox. <a href="#" onclick="clearSelected();">Clear</a> Then, paste this code in your Footer. You may disregard the script tag if you already have a code in your Footer. FIELDNAME should be the name of your listbox. <script> function clearSelected(){ var elements = document.getElementById("InsertRecordFIELDNAME").options; for(var i = 0; i < elements.length; i++){ elements[i].selected = false; } } </script> I just use this article as reference for this solution: https://stackoverflow.com/questions/12802739/deselect-selected-options-in-select-menu-with-multiple-and-optgroups Here is a sample output as well: https://c0hcv332.caspio.com/dp/3b43900075840456488c405a9945
  6. By default, Text area values in Results page are rendered as text / string so we need to render it first to HTML so the HTML tags will not be shown.
  7. Hello! Another approach is by using the External Parameters and use the Timestamp parameter. For example: Result:
  8. Hi @MarkMayhrai, you might want to check this forum post
  9. Since ampersand (&) is a special character, there is a conflict occurring when you pass a parameter contains ampersand as value in your URL, thus it is getting cut off and the texts after it as well. You may follow the forum post commented by Meekeee to resolves this issue.
  10. Just to add, this workflow works well in standalone Details and Single Record Update DataPages. If you are using it in the Details page from a Results page, I'm afraid the code won't work. However, as a workaround, you may just need to separate the Results Page and Details page and create an HTML block inside the results page that includes the details page URL with the ID parameter on it to pass the data.
  11. Hello! You can just use this article to generate latitude and longitude for your existing records. Just modify the 'InsertRecordFieldName' lines into 'EditRecordFieldName'. Also, please make sure that the field name you used in the table is the same with the inputted in the code. If it is Zip in the table, then it should be Zip in the code as well.
  12. Hello. I have not experienced this behavior since I started using Caspio, but I believe you should try opening a ticket so their support can check your DataPage. ~
  13. Just to add again, it seems that table records can be exported or downloaded as PDF when you use it in a tabular DataPage. I read it here: https://howto.caspio.com/datapages/pdf-download/pdf-download/
  14. I also found this Caspio article about exporting data from tables: https://howto.caspio.com/tables-and-views/exporting-data/
  15. Hi @TimAllison, I believe Caspio tables can only be exported in MS Access, Excel, CSV, and XML formats but not in PDF.
  16. Hello guys! If you are unaware, the PDF feature allows you to set your desired page break every X records.
  17. Hello! Just updating this thread, you can also page break by group when downloading a Report as PDF. Hope this helps!
  18. Hi! Just updating this thread, you can also page break by group when downloading a Report as PDF. Hope this helps!
  19. Hello! If you have collapsible grouping on your Report DataPage and you want to page break it by group when downloading as PDF, then this can be helpful.
  20. GoodBoy

    Page Break By Group

    I believe this is possible by using some JavaScript. You may try the codes below. Header: <script src=https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js> </script> Footer: <script> $( "<div style='clear:both!important;'/></div><div style='page-break-after:always'></div><div style='clear:both!important;'/> </div>").insertBefore( ".cbResultSetGroup1Row:not(:first)" ); </script>
×
×
  • Create New...