will fields hidden via FORM Field rules and made visible via javascript be available in PDF (that gets saved to the repository)?
will fields hidden via FORM Field rules and made visible via javascript be available in PDF (that gets saved to the repository)?
Can you share the detail for your JavaScript? You JavaScript may not work on the generated pdf for the html to generate the pdf is in read-only mode which the elements are different from the editable form. You can check whether the field is visible when you view the read-only form from metrics->instances->instance detail->view submission for the step.
we are using LF 10 and i don't see submission for step in instance detail.
Is there any option in LF to have few fields hidden in UI and have them displayed in the PDF that gets saved to repository (without editing them via a workflow\business process).
P.S: The javascript is tooo big to share, it has more than 4000 lines.
One thing you could try is to hide the fields in CSS and not via FORM Field rules. As far as I remember, I had similar problem a while ago and this helped in my case.
If the CSS property is set to "display: none" the field is still available for later stage to populate in PDF, it is just not visible for the user.
Let me know if it helps or if you have any questions.
In your JavaScript which is used to make the field visible, do you check the element such as "input"? For read-only form, the input/textarea these elements will be converted to div.
To check whether the fields are visible in submitted read-only form, you can click the step name in the instance detail as following: