Jump to content

TellMeWhy

Caspio Ninja
  • Content Count

    87
  • Joined

  • Last visited

  • Days Won

    4

TellMeWhy last won the day on May 4

TellMeWhy had the most liked content!

1 Follower

About TellMeWhy

  • Rank
    Advanced Member

Recent Profile Visitors

201 profile views
  1. I'm not versed in jQuery terms but I got this working with the following. First include the cdn of jquery on your Header, you get no errors, so, that means you already have it included, but for anyone who might need it HEADER > DISABLED HTML EDITOR <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> FOOTER If you want to go through every input, then use 'input' instead of cbParam What the code in the if does is it goes to the parent element of the current input (it goes to div) then searches the NEXT sibling
  2. You probably want a Details Page, or Gallery Reports DataPage to display images, not a Submission Form. SIngle Record Update would do too, but Details Page is easier to use. Additionally, you can check out this Application Template if this is how you want to be creating https://www.caspio.com/apps/membership-directory/
  3. what do you mean element ID? How are you testing this script? Take note that there is a temporary APPKey for DataPage when you use Preview, the AppKey in its properties is the real appkey when the DataPage is accessed through any deployment method, if that's what you're using, the script will not work in the preview. To get the temporary AppKey, just click preview and copy the value at the end of the URL, do not close this preview, as it will change if you closed it and preview it again. Just to add, don't need this anymore, you're using *= that operator mean
  4. Is this a List DataPage or Gallery? This needs JavaScript, but let me know first what specific type of DataPage, maybe I can help you. Here's an example in a Gallery Report WEB https://c2aby549.caspio.com/dp/83ff800011ea20ceac2f4bc18328 MOBILE
  5. If you want, you can use JavaScript to set a default password, if it's blank, it will be the default password, or if you want to hide the password field and just want the user to change upon first login or whatnot, just set the value of the field to the said default password before submit.
  6. Oh, alright, sorry about that, thank you for the solution, as well!
  7. What happens? Do you have a sample DataPage? nothing happens when my 2 fields are null (2and 3 for timepicker 1 and 2) If I put a value, it appends, Maybe you have some stray script or triggered action?
  8. Well, you can disable the Responsive and implement your own media query on your styles, this will affect everything tho, So, you will have to set a mobile version style for everything.
  9. I see, what I could suggest is if you could replicate the issue on a test DataPage, literally just the calendar with a test table as well, if you can replicate it there, then all the better
  10. Not sure, as well, but I have difficulties in using button tag on Caspio as it 'clicks' the submit button, as well. Try to use <input type="button> or <a> tags instead of <button> and just style them the same.
  11. That's strange, can you send your URL for this DataPage? It should be the same for everyone since it's a customized CSS, do you have other styles that can affect this?
  12. I don't think this is possible. Even if you are using List-String, and Multi-select form elements, the report will only show the records with the EXACT data you selected in the multiselect, it does not work as 'If any of the records has any of these values, show' You can create multiple criteria for one field. Each criteria can only hold one value, and the logic for all criteria would be OR. It's not dynamic though, so, you have to set a specific number of criteria.
  13. Unfortunately, you can't do both of those (alert and disable button) without JavaScript. You can try the following <script> document.addEventListener("BeforeFormSubmit", function(event) { var VirtualVal = document.querySelector('select[name="cbParamVirtual1"]').value; if(VirtualVal == '0'){ alert('You have no more classes available.'); event.preventDefault(); } }); </script> This gets the value of your Virtual 1 - (cbParamVirtual1) and if it's 0, it will provide an alert with a custom message, and prevent the form from submitting. T
  14. I think it's more complicated now. You can try this one <style> .flatpickr-calendar{ width:600px; } .flatpickr-innerContainer{ height:350px } .dayContainer{ grid-gap: 20px 0; } </style> First one is width of the whole 'box' second one is the height of the DAY container, it does not include the day labels, month/year, and the section on the bottom Third one is to adjust the gaps between each DAY so they fill the empty space created by adjusting the height.
  15. It would depend on what DataPage are you using. It should be pretty easy on a Reports DataPage, you can just use Select Statement and then directly use the Calculated Field on the query string. If it's a submission, you might need to use JavaScript to set the value in the query string, since you can't use fields in HTML blocks in submission forms
×
×
  • Create New...