The "Condition generate" option in the PDF settings window allows you to set a condition (based on a hidden field in your form), that will determine if the PDF will be generated or not.
Up till now, this was not active for Word documents - but now this is supported as well!
Watch how to set up the Generate Condition option for the Word document
Enjoy!