Altinn / altinn-pdf

Altinn platform microservice for generating PDFs
0 stars 1 forks source link

Filled (utfylte) hidden components included in pdf and xml #6

Closed OddArneSaetervik closed 2 years ago

OddArneSaetervik commented 2 years ago

@FTLems commented on Fri Feb 04 2022

Description

  1. Add rule for showing other component if radio-button is Ja. Hide components if No.
  2. First choose Yes. Add information to components that appears based on this.
  3. Then change radio-button back to No. The appeard components disappeir from ui, and user sits with impression that the added information also vanished. But in reality this information is included in xml and pdf, unintentionally by user.

Workaround is that you can manipulate this in backend in pdfhandler and logic-file. But in big schemas, this can become heavy and messy.

Expected behavior

Expect when Rulehandler kicks in, this would also affect the output in pdf and xml instance.

Screenshots

image

image