It's all about the answers!

Ask a question

RPE JavaScript Question


Dylan Mansour (21718) | asked Oct 03 '16, 12:54 p.m.
 Hello all,

I am making an RPE template for a DOORS module.
Currently I am trying to get a certain table to print for elements with a certain attribute.  All of the elements are object text but have a different custom attribute.
I can get the text to not print using JS, but the table is still there.

Is there a way to get the whole table to not print on a certain condition?

Currently I am having it go
if(var != "text")
 ???

I tried console.log( "" ) but this did not work.
I tried creating a variable and initializing its value to be " " and this did not work as well.

Has anyone had success with doing this?

One answer



permanent link
Subramanya Prasad Pilar (4.6k16) | answered Oct 03 '16, 2:17 p.m.
Where have you applied the condition? You can have the condition on the container that contains the table element.
There are other ways to do this. If you can share the template, we can suggest changes.

Prasad (subprasad@yahoo.com)

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.