aam82 Posted June 2, 2016 Report Share Posted June 2, 2016 This script assumes that you have set your YES/NO field to custom formatting, and to display the text "NO" for NO values and YES for YES values. If you have more than one YES/NO field, then you have to have unique text values to display unique images, such as field1: yes=YES1 no=NO1 field2: yes=YES2 no=NO2 and you would adapt the script with additional "else if" conditionals. In your footer, add <script> var elems = document.querySelectorAll("td span"); for (var i=0, m=elems.length; i<m; i++) { if (elems[i].innerHTML=="NO") { elems[i].innerHTML = "<img src=\"FULL_NO_IMAGE_PATH\">"; } else if (elems[i].innerHTML=="YES"){ elems[i].innerHTML = "<img src=\"FULL_YES_IMAGE_PATH\">"; } } </script> an example img tag would be: elems[i].innerHTML = "<img src=\"http://example.com/image.jpg\">"; Could be used for small images like check marks for yes, a red x for no, stuff like that. Mathilda 1 Quote Link to comment Share on other sites More sharing options...
MayMusic Posted June 3, 2016 Report Share Posted June 3, 2016 Another post in this regard is at http://forums.caspio.com/index.php/topic/5749-check-mark-for-yes-value-on-report/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.