Jump to content


Caspio Ninja
  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by IMDora

  1. Hi @Scott17, You can try the code below, make sure that AJAX is disabled. <script> document.addEventListener('DataPageReady', function (event) { if ("[@authfield:Users_tbl_Role]" == "Broker") { document.getElementsByName("Mod0EditRecord")[0].style.display = 'none'; } }); </script> I hope this helps. Regards, IMDOra
  2. IMDora

    Floating Nav

    Hi @directrix, I just recently encountered the same issue and I found out that the ul tag is missing its id attribute. For it to work, you just need to change your ul tag from <ul> to <ul id="menu">. I hope that helps.
  3. Hi @NJConrcs, I don't think that this is possible even if you use the HTML mailto links because according to RFC(Request For Comments) 2368, the body part is supposed to be plain text only. You can try using JavaScript or JQuery but I'm not if that would work as well.
  4. Hi @edujobs2k18, Are you referring to your script for TimeStamp or the one for the Update Form? If you're referring to the script above, you can implement that by editing your DataPage and follow the steps below: a. Add a Header and Footer. b. Go to the Header and disable the HTML editor by going to the Advanced tab and unchecking the box next to "Enable HTML editor". c. Click the Standard tab. d. Add the script that you have. Let me know if you still need help on the Update Form.
  5. Hi @edujobs2k18, Yes, if you already used a field in a rule, you can no longer use it. What I would suggest it to create a simple JavaScript that will get the value of "Documents Remarks", and if the value is "Approved" then you can disable the "Document" field. Note: You need to make sure that the "Documents Remarks" field is visible or in that form so we can get the value. Regards, @IMDora
  6. Hello @Dschrepfer, I replicated your inquiry on my end using the simple JavaScript that you have provided and it seems to be working. May I ask for the URL or error message if you have any? Thanks.
  7. @abitaquest, There's a possibility that the reason it's not working now is because of the recent Caspio update. Event like onsubmit will no longer be supported and you need to use Caspio's built-in event handlers. Kindly please check the link below for more information: https://howto.caspio.com/release-notes/caspio-bridge-13-0/13-0-impacted-areas/ https://howto.caspio.com/datapages/ajax-loading/ I hope this helps.
  8. @kvarjavand, It's possible that there's some script that may have caused that or it's probably a bug(like Jan said). Can you please provide the URL of your WP site? IMDora
  9. Hi @NJConrcs, You can use a Calculated Field instead of Aggregate and use the parameters as is. You should have something like this on your Calculated Field: [@dp_budget_amount_P] - [@field:FUNDING] Change the [@field:FUNDING] depending on the name of your funding field. I hope that helps.
  10. Hi @directrix, May I ask, why you need to use a Virtual Field instead of a normal field? Regards, @IMDora
  11. Hi @JaredL, To do this, you can set the collapsible group to "Collapsed by default". Attached is the screenshot for your reference. Regards, @IMDora
  12. Hi @zalipresents, You should replace your document.write with innerHTML. You can refer to this forum: Hope this helps. Regards, IMDora
  13. Hi Alison, What do you mean by to make a textbox to dynamically change for inputted text? - IMDora
  14. Hi waltmayo, This is now possible with the new 13 Release of Caspio, you can do this by enabling AJAX on your DataPage. Here's more information about AJAX: https://howto.caspio.com/release-notes/caspio-bridge-13-0/ https://howto.caspio.com/datapages/ajax-loading/
  15. Hi tastyT, If you put singe quotes, the script will render it as a text and not as number/integer. That's why when you change it from '0' to 0 it worked.
  16. Hi neokid2416, You can check Caspio's security through this URL: https://www.caspio.com/features/. Hope that helps.
  17. Hi PacWebDev, You can check this documentation to do a keyword search across multiple fields: https://howto.caspio.com/faq/reports-datapages/how-to-do-keyword-search-across-multiple-fields/
  18. Hello Logan, To force the letters inputted to be capitalized you can use this JavaScript code: <script type="text/javascript"> function uppercase(field) { return function () { field.value = field.value.toUpperCase(); } } var fields = document.querySelectorAll('input[type="text"][id^="InsertRecord"]'); fields.forEach( function (field, index) { field.oninput = uppercase(field); } ); </script> Hope that helps.
  19. Hi roattw, I'm afraid the answer for that is yes. You need to put !important if you will be using an external or internal css because if you don't that might cause conflict on other css code with the same class/id name.
  20. Okay. What seems to be the error? The solution that I provided works perfectly on my end and what it does is find any records that has the value that you put in the search field.
  21. Hello aschild, To add a search bar for a multi-select listbox, what you need to do is add an HTML block before your Multi-Select Listbox Element and put in this code: <input type="text" id="myInput" placeholder="Search"> <script> document.getElementById('myInput').onkeyup = function(event) { var items = document.getElementsByClassName('Item'); for (var i = items.length - 1; i >= 0; i--) { if( items.getElementsByTagName('label')[0].innerHTML.toLowerCase().indexOf( document.getElementById('myInput').value ) < 0 ) { items.style.display = 'none'; } else { items.style.display = 'block'; } } } </script> Let me know if this helps.
  22. Hi roattw, You need to add the CDN on your html file itself. Let me know if you need assistance. Thanks.
  23. Hi roaatw, Could you provide the URL of the affected DataPage? That would be helpful for troubleshooting purposes. Looking forward for your response.
  24. Hi roattw, You can add this code in your styles: input[type="checkbox"] { -webkit-appearance: checkbox; } or this code on the header of your DataPage: <style> input[type="checkbox"] { -webkit-appearance: checkbox; } </style> You can add do this if above code does not help -webkit-appearance: checkbox !important; Hope that helps.
  • Create New...