I want to create a Feedback that displays only on the PDF generated after submitting. I have The condition set to display when a question (select box) is answer wrong, this works. I also have it set to Hidden but not Not Hidden in PDF. When i try previewing the form the feedback is still showing in the live form when the condition is met
This is how it looks on the live form. I only want the red text to display on the PDF. Conditioning seems to override the 'Hidden' option
This is how it looks on the live form. I only want the red text to display on the PDF. Conditioning seems to override the 'Hidden' option
Hi Tom,
To completely hide a component in the web form but still be able to dynamically hide/show it in the PDF you will need to use an advanced conditional that is specifically targeting the PDF. Here is how you could achieve this:
Drag and drop the component you wish to hide into your form (i'm going to assume this is a content component)
Ensure you tick the "hidden" option but untick the "hide in pdf" option
In your conditional tab add a JavaScript expression that specifically targets the PDF by using the instance.isHtmlRenderMode()
show = instance.isHtmlRenderMode() && insertExistingCondition
Here is an example of the end result 🙂