Jump to content

thompson

Members
  • Content Count

    2
  • Joined

  • Last visited

About thompson

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello, I have a Tabular Reports page that show different permits that have an expiration date. I want to make the row turn red if the expiration date has passed. I have tried to use the following but it does not work. Any help would be appreciated. <a id="visi[@field:TenantID]"> <script> var isi = document.getElementById("visi[@field:TenantID]"); if('[@field:Expiration])'>'GetUTCDate()'){ isi.parentNode.parentNode.style.backgroundColor = 'red'; } else{ isi.parentNode.parentNode.style.backgroundColor = '#NoColor'; } </script></a> The [@field:Expiration] is a formula field in the table.
  2. I am trying to Hide the submit button when a virtual field that is a cascading text field (non-editable) equals "0". I've tried different variants of code found here but I still can't seem to get it to work. I am posting it in the footer. This is what I currently have. <script> if (document.getElementById("cbParamVirtual2").==0){ document.getElementById("Mod0InsertRecord").style.display="none"; } </script>
×
×
  • Create New...