Jump to content

AdamH

Members
  • Content Count

    17
  • Joined

  • Last visited

About AdamH

  • Rank
    Member

Recent Profile Visitors

545 profile views
  1. Hi all -- Is there anything I can do here to encourage one of you to lend a hand? Any and all advice would be appreciated, thanks.
  2. In lieu of the above, a button (or piece of text etc) that performs the function of "Check All / Uncheck All" would also work. I've tried the code here in various iterations: https://webdevdoor.com/javascript-ajax/javascript-function-check-uncheck-checkboxes but can't get it to work, mainly because I have a poor understanding of how to adjust and implement it, I'm mostly javascript illiterate.
  3. Here's the solution for future searchers. You use 2 datapages. We'll call one the Main DP and the other the Details DP. In the Main DP, the "parent" field goes in a dropdown (PARENTFIELD in this example). Directly after that, put this in an HTML block: <iframe name="ACTUAL NAME OF YOUR DETAILS DP" title="" id= "myframe" width="WIDTHYOUWANTpx" src="">Sorry, but your browser does not support frames.</iframe> <script> function f_desc() { var name = document.getElementById('EditRecordPARENTFIELD').value; URL= "CASPIO-URL-OF-DETAILS-DP-HERE&Id="+name; document.g
  4. I have a tabular report that uses a search form. "Field 1" consists of 10 multiple criteria that are all checkboxes. Following that is another single checkbox field, and three text fields. So let's call that 5 fields total (Field 1 includes all 10 multiple criteria checkboxes). What I want to do is this: When Field 2, 3, 4, or 5 is not blank (or is checked), uncheck all the criteria checkboxes in Field 1. Or just "ignore" Field 1. (I found a couple previous posts describing checkbox unchecking, but not with multiple criteria, and they're different situations). Any hel
  5. I'm having problems getting this to work -- I'm building a Single Record Update, and the "Description" field is a Virtual cascading dropdown (it's virtual because it's part of a View and in a non-editable table). Instead of InsertRecordFIELDNAME I've used EditRecordFIELDNAME. I've got the virtual fields identified as cbParamVirtual1 and cbParamVirtual2 (#1 is the cascading Description, and #2 being the Target/display). I'm only slightly Javascript literate, could somebody please lend a hand?
  6. Can someone please help with a way to simply filter/exclude records submitted in Previous X Hours? I am very barely fluent in Javascript. Current Caspio coding allows you to exclude records submitted "today" (via logic), but that isn't helpful considering that "today" can sometimes mean just the past two minutes, depending what the actual time is. Thanks! **Answered here:
  7. I'm trying to create a report that displays all records "older" than "X Hours." For instance, suppose I had 100 submissions 24+ hours ago, and 100 submissions today (within the last 24 hours). I want a report only displaying the 100 submissions from 24+ hours ago (and everything else prior to then -- but it excludes the submissions within the past 24 hours). Ideally this is specifiable by number of hours. EG, display all submissions/records older than X hours. (Records are tagged with date/time of original submission). Thanks.
  8. Okay thanks. So just so I'm clear on my options re: Inline edit, I can either: 1. Color an entire single row and retain Inline edits, or 2. Color an individual cell, but lose Inline edit for that field. ...is that right? Thanks.
  9. Big thanks again for that code, your help is invaluable. The new problem that comes out of this is, with this method, I can't Inline Edit that field. Any way to make that happen?
  10. Thanks. I appreciate the fast reply. But this isn't working. What happens is I get an extra column, but with just a blank space at the header and no data. I was certain to put the unique field and the "target" field where you indicated. I'm also presuming where you wrote "Red" above, that is the actual result we're looking to re-color (i.e. in your example if First_Name was "Red" then that name "Red" would be displayed in blue).
  11. Hi everyone, all I want to do is this: In a tabular report on a results page, if First_Name = “Bob” then display that exact text in green. In other words, imagine a report of a typical user database (first name, last name, address, zip, favorite food, whatever) and every time someone has the first name "Bob," you see the word "Bob" in green. Otherwise that field will display in default color, as will everything else in the report. I promise I’ve read through and tested all the examples in the forums, including making sure AJAX is disabled so it’s not interfering. But my JavaScrip
  12. Thanks for your response! Let me clarify a bit what I'm looking for so we're on the same page... Anyone coming to my public webform can submit a "Case" via that form. A group of people in my organization are "Supervisors." Each of them will self-assign themselves responsibility for any "Case" (i.e. a single record). This self-assignment is done via a Single Record Update form. They're claiming the responsibility to handle that record/"case." Supervisor_Name will log the name of the Supervisor who has "claimed" each Record. Using Authentication, we can already know the Supe
×
×
  • Create New...