Jump to content

Check Mark For Yes Value On Report

Recommended Posts

Add a HTML to your report page instead of actual field and use the code below.

<span id="icon[@field:Id]"></span>

if ("[@field:YESNOFIELD]" == "Yes"){
document.getElementById('icon[@field:Id]').innerHTML="<img src='URL OF ICON'/>";

[@field:Id] is the unique ID of the record which needs to be replaced and also [@field:YESNOFIELD] is the field that holds Yes/No value

Link to comment
Share on other sites

Also, I entered it like this: 


Tourneys <span id="icon[@field:tourneys]"></span><script>
if ("[@field:tourneys^]" == "Yes"){
document.getElementById('icon[@field:tourneys]').innerHTML="<img src='http://assets.goplaypool.com/files/theme/appcas/check_01.png'/>";
if ("[@field:tourneys^]" == "No"){
document.getElementById('icon[@field:tourneys]').innerHTML="<img src='http://assets.goplaypool.com/files/theme/appcas/check_02.png'/>";
**** And only the first two records show the results, and rest of them don't????
Link to comment
Share on other sites

  • 5 years later...
  • 2 months later...

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...