This question has been flagged
1 Reply
4378 Views

Hi Friends,

I Struck with the if statement in rml report.

I had a check box, if the user click on the check box , in the rml report the inner table should display the lines other wise that table should not be visible.

Thanks,

Omkar

 

 

Avatar
Discard
Best Answer

In rml you can use any python code inside double brackets... like:  [[ code comes here ]]
so you can define something like:

<para style=something> [[ check_box and display_some_vals or removeParentNode(para) ]] </para>

syntax: check_box and display_some_vals or remove parentnode is equvivalent to :

if check_box(is checked) then display some vals or remove para node.. 

hope it helps.. 
if you still need some help please post your rml line defining particular line...

Avatar
Discard