Patric
Patric

Reputation: 1627

Orbeon: How to display form warnings in generated PDF

When I press save or review in the Orbeon form runner, warnings are displayed for all incorrect values.

When I emulate the print media using Chrome dev tools (F12 -> ... -> More tools -> Rendering -> Emulate CSS media -> print), these warnings are still visible.

However, when I create a PDF using the PDF button, the warnings are removed. Is there a way around this? I would like to see all warnings in the generated PDF.

I thought about using a custom print CSS like this:

@media print {
   .xforms-alert{
       display: block !important;
   }
}

But this does not do anything...

Demo form here.

Upvotes: 0

Views: 53

Answers (1)

ebruchez
ebruchez

Reputation: 7857

The answer is that currently, there is no way to show the warnings in the PDF, or even in Review mode: the HTML markup does not include alerts at all in these cases, whether for errors or for warnings.

Upvotes: 1

Related Questions