Skip to main content
Question

HTMLReportGenerator add checkboxes


Forum|alt.badge.img
Hey everyone, I am trying to create a report that contains a list of errors. I would like to add checkboxes next to each error as an easy way to keep up to date on what errors have been addressed. Is there a way to do this?

 

I have looked into the Custom HTML, but I'm a little confused on how the ReportGenerator adds the attribute to the HTML statements.

Any help would be greatly appreciated. Thanks!

 

2 replies

warrendev
Enthusiast
Forum|alt.badge.img+24
  • Enthusiast
  • March 9, 2020

One way that I add customization for the html report is by modifying the content in the html_content attribute. I use a python caller to add javascript and css.

 

0684Q00000ArKfkQAF.png

 

Here is a simple way to go about it using the string replacer. I just create an attribute that will be replaced with the html for creating the checkbox.

<input type="checkbox">

0684Q00000ArKiwQAF.png

 

0684Q00000ArKkHQAV.png

checkbox.fmw


Forum|alt.badge.img

Thanks! That worked great!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings