Jump to content

Vitalikssssss

Caspio Evangelist
  • Content Count

    512
  • Joined

  • Last visited

  • Days Won

    51

Vitalikssssss last won the day on September 10

Vitalikssssss had the most liked content!

About Vitalikssssss

  • Rank
    Advanced Member

Recent Profile Visitors

2,201 profile views
  1. Hi @mclarkdata, It is not possible to use dynamic fields in Reports like Tabular/List/Gallery because they intended to show more than one record, hence it is not possible to identify from which record the field value should be taken. I guess for your case it is better to set the dynamic labels in authentication table. Regards, vitalikssssss
  2. Hi @Paolo, Caspio offers custom events if you have AJAX enabled. The one that you need to use called "BeforeFormSubmit" it occurs after user clicks on "Submit" button, but unfortunately before the default form validation checks(*required) happens. I can suggest to write all validation needed in JavaScript and use "BeforeFormSubmit" event. Here is documentation: https://howto.caspio.com/datapages/ajax-loading/ Hope this helps. Regards, vitalikssssss
  3. Hi @DesiLogi, It is possible with JavaScript to disable Cascading dropdown, however I would recommend using a Cascading TextField that has an option to disable the input field if only one option returned. If my suggestion does not fit your workflow than you can use the following JavaScript: <script> document.addEventListener('DataPageReady', function (event) { const el = document.querySelector('select[id^="InsertRecordYOUR_FIELD"]'); el.addEventListener('change', ()=>el.disabled="true"); }); </script> Regards, vitalikssssss
  4. Hi @JayDub, Do you have an element with ID "norecord" or you trying to reference the message of Caspio Form? Do you see any errors in browser console? Regards, vitalikssssss
  5. Hi @MaraMara, Well, it might be easier for you just to simple disable the Search form and use Predefined filtering criteria, however if you still need to use a Search form please send me a link to web-page where you have Datapage deployed in PM and I will take a look. Regards, vitalikssssss
  6. Hi @MaraMara, It looks like it is specific to your page because I have tried to create a similar one and JavaScript worked fine. Perhaps you can export the Datapage along with dependencies (no need for data), so I could take a closer look. You can send it as PM. Regards, vitalikssssss
  7. Hi @ChristopherNORD, Please send the screenshot of the updated design of Triggered Action. Regards, vitalikssssss
  8. Hi @maramedinan, I have found that the snippet of code on your Datapage has a syntax error. You should put opening bracket "{"after (element.innerHTML > 7) Regards, Vitalikssssss
  9. Hi @maramedinan, It looks like for report with grouping additional <tr> added in HTML, so you need to use: nth-child(15) let arr = document.querySelectorAll('td:nth-child(15).cbResultSetCalculatedField'); Regards, vitalikssssss
  10. Hi @maramedinan, Solution provided above will not work unless the code placed in HTML block (row element). I have created a different snippet for highlighting some particular cell that you can try. Please make sure that you replace number that refer to the column number in below code. Column count starts with "1". The following code should go into DataPage Footer. <script> document.addEventListener('DataPageReady', function(event){ let arr = document.querySelectorAll('td:nth-child(4).cbResultSetCalculatedField'); //change number of the column in "nth-child(4)
  11. Hi @JanineB, It looks like the "$" currency sign added by formatting is the reason for element value not been recognized as a number. You may add a replace function with regex to remove unwanted characters from value formatted as currency. So, your JavaScript would look like this: <script> var elems = document.getElementsByTagName("td"); for (var i=0, m=elems.length; i<m; i++) { if (elems[i].innerHTML.replace(/[^0-9\.-]+/g,"") > 0) { elems[i].style.textDecoration = "line-through"; } } </script> Regards, vitalikssssss
  12. Hi @ChristopherNORD, I would not recommend using IF/THEN block for this case. I would rather recommend using a WHERE clause in Update block to check the status field. Regards, vitalikssssss
  13. Hi @KamAB, I did not find an attribute within the Styles section of Caspio Bridge, so you may add the following snippet in DataPage Header: <style> div > span { font-size: x-large !important; font-weight: 700 !important; } </style> Regards, vitalikssssss
  14. Hi @jazmichaelking, It looks like G Suite supports SAML 2.0 (Security Assertion Markup Language) that also used by Caspio SAML, however G Suite is not listed as one of the Idp provider that has been verified by Caspio. I haven`t done this type of integration yet but overall it should be possible. The only challenge I see is to understand how to store usernames in Caspio table. I guess it is possible to find out the format of user_name returned by Idp from G Suite support. Here are some links that should help: https://howto.caspio.com/authentications-and-connections/single-sign-
  15. Hi @ChristopherNORD, Perhaps it would be a good idea to add a checkbox field to table to distinguish when field Date_Added can be editable (e.g. Editable: Yes/No). You may add an additional condition in WHERE clause to filter-out records that has "Editable" field set to "No" (unchecked). Hope this helps. Regards, Vitalikssssss
×
×
  • Create New...