Hiding line items on RQ10

Author
Messages
Scooter
Veteran Member
Posts: 83
Veteran Member
    I have a custom RQ10 for processflow approvals. 
    Is there a way to code javascript in the custom RQ10 to hide some req lines?
    We want to display only req lines where Activity field value matches ProcessFlow category values.
    techguru
    Basic Member
    Posts: 5
    Basic Member
      Hi Scooter.

      On the RQ10 screen on the LINES tab, there are 5 lines.

      You can use the following code to hide each individual line.


      document.getElementById("DT0ROW0").style.display = "none"
      document.getElementById("DT0ROW1").style.display = "none"
      document.getElementById("DT0ROW2").style.display = "none"
      document.getElementById("DT0ROW3").style.display = "none"
      document.getElementById("DT0ROW4").style.display = "none"


                  OR

      var myRow = 3
      document.getElementById("DT0ROW" + myRow).style.display = "none"



      Before you execute this statement in your javascript, make sure the LINES tab is selected. Otherwise the code will not work.
      Contact me if you have any further questions in the future.

      Regards...
      ---