Jump to content

Alison

Caspio Guru
  • Posts

    137
  • Joined

  • Last visited

  • Days Won

    12

Alison last won the day on April 10

Alison had the most liked content!

2 Followers

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Alison's Achievements

  1. You may use the following script in the Footer to hide the button with its container when one of the Virtual fields shows the value "Not correct" <script> document.addEventListener("DataPageReady", function() { let Virt1 = document.querySelector("input[id^=cbParamVirtual1]"); let Virt2 = document.querySelector("input[id^=cbParamVirtual2]"); let btnSubmitContainer = document.querySelector(".cbSubmitButtonContainer"); btnSubmitContainer.style.display = 'none'; function checkValidity() { if (Virt1.value == 'Not correct' || Virt2.value == 'Not correct') { btnSubmitContainer.style.display = 'none'; } else { btnSubmitContainer.style.display = 'inline'; } } Virt1.onchange = checkValidity; Virt2.onchange = checkValidity; // Initial check checkValidity(); }); </script>
  2. Hi @ParkLoey, thank you for the suggestion, however, it will show either first, or second, or third inputs. However, what I want is to show one input, then 2 inputs, 3 inputs and so on. I suppose it can be done with the customn JS using Switch case, but I cannot come up with the solution.
  3. If you have a DataPage inside another DataPAge deployed as iFrame, and if you want the parent DP to be redirected to another URL, you should use the following code: <script> document.querySelector("iframe").addEventListener('load', function(e) { let iFrameButton = document.querySelector("iframe").contentWindow.document.querySelector("input[id^='Submit']"); function f_redirect() { window.top.location.href = "https://www.caspio.com/"; } iFrameButton.onclick = f_redirect; }); </script>
  4. Hi, I am trying to create a workflow where the fields are shown or hidden by the selection in the dropdown. I have tried using Rules, however, they are limited in reusing fields in Action. Can someone point me to the right direction on how to achieve this? For example, I have a dropdown with the Number of children, it can be 1, 2, 3, 4 and 5. And I want to show input fields below based on that selection in the dropdown. So, if I choose 1 in the dropdown, only first input is shown. If I choose 2, the first and the second inputs are shown and so on.
  5. Hi, I have contacted Caspio support, and they told me that it is not possible to change the number of values in the autocomplete, however, they shared the post on the idea box where you can vote for this feature: https://caspio.uservoice.com/forums/164206-caspio-bridge/suggestions/6732346-it-would-help-if-we-could-determine-the-amount-of https://caspio.uservoice.com/forums/164206-caspio-bridge/suggestions/17981896-can-autocomplete-be-modified-by-user-or-system-to
  6. Hi. If you are experiencing issues rendering applications due to Cross Site Tracking, please refer to the recommended system requirements: https://howto.caspio.com/system-requirements/. As always you can contact Caspio Support https://www.caspio.com/support/ for questions or concerns.
  7. Hi all, Feel free to use the following solution: 1. Create an HTML datapage, go to the Source mode, deploy other datapages there using an iframe deployment method, and add the code for the PDF link: <a href="[@cbprotocol][@cbbridgeservername]/PDFGen.aspx?AppKeys=DPAppKey1,DPAppKey2" target="_blank"><img src="[@cbprotocol]static.caspio.com/bridge/images/PDF_print.png" alt="Download as PDF" border="0"/></a>2. Replace “DPAppKey1” with the AppKey of the DataPage 13. Replace “DPAppKey2” with the Appkey of the DataPage 24. You can also choose to display a different PDF icon by replacing the default icon URL “[@cbprotocol]static.caspio.com/bridge/images/PDF_print.png” with your own icon URL
  8. Hi all, I was testing and this code works for me: <style> #caspioform > div { margin: 0 auto; } </style> You may follow this Caspio Labs video for reference:
  9. Hello @sfraden, @kpcollier Thank you for providing valuable feedback. We apologize for the inconvenience caused due to the placement of the chat bubble. Our team is working on a solution to address the concern and we understand that chat function is very beneficial to users to conveniently reach out to Caspio Support team for assistance with inquiries. In Release 30, Caspio user interface has been refreshed to improve the navigation and usability. We value your feedback and are committed to continually improving our product.
  10. Feel free to use the following code to remove the button container on the Details page: <script > document.addEventListener("DataPageReady", function() { buttonCont = document.querySelector('div[class^="cbBackButtonContainer "]'); buttonCont.remove(); }); </script>
  11. Hi @Ioannis, You may request this application to be uploaded into your account and check the code how it was created. Also, you may follow this article for anothere approach: https://howto.caspio.com/tech-tips-and-articles/common-customizations/how-to-create-date-specific-new-record-links-in-calendar-datapages/
  12. Hi @TeamVilla, There are different data types in tables. Refer this article for the details: https://howto.caspio.com/tables-and-views/data-types/ Logos can b e added as pictures to the File data type or it can be added as a full link in the File type or in the Text255. More details can be found here: https://howto.caspio.com/tech-tips-and-articles/common-customizations/tech-tip-5-ways-to-customize-the-look-of-your-datapages/
  13. Hi @thanhtruong, You should passs and receive the external parameter on the search form:
  14. I have found out that to make it work whrn Responsive is enabled, the "td" should be changed to "div" when defining the button variable. Please use the following code below: <script type="text/javascript"> document.addEventListener('DataPageReady', function () { let elem = document.querySelector('input[id^="InsertRecordListStr_Field"]'); let button = document.querySelector('div[class^="cbSubmitButtonContainer"]'); elem.addEventListener('change', function() { let elemValue = elem.value.split(','); if(elemValue.includes('1')) { button.style.display = "none"; } else { button.style.display = ""; } }); }); </script>
  15. Hi @nehasingh, I suggest that you follow getting started videos to know more about Caspio: https://howto.caspio.com/getting-started-videos/
×
×
  • Create New...