Jump to content

CoopperBackpack

Members
  • Content Count

    2
  • Joined

  • Last visited

About CoopperBackpack

  • Rank
    Newbie

Recent Profile Visitors

14 profile views
  1. Hello @AnisDuncan, You may find related posts on the Forum . Please, follow this links to articles:
  2. Hello @Elderberg, Please, try to add the addEventListener() method to your code. Also, change the comparison in the IF condition to this one: Flag == 'Yes'. The code example: <div id="mydiv[@field:CMP_ID2]"> </div> <script type="text/javascript"> document.addEventListener('DataPageReady', function (event) { var Flag = "[@field:YesNo^]"; if (Flag == 'Yes'){ document.getElementById("mydiv[@field:CMP_ID2]").innerHTML = "X" ; } else{ document.getElementById("mydiv[@field:CMP_ID2]").innerHTML = "Y" ; } }) </script> I hope this information will be helpful.
×
×
  • Create New...