We have a custom widget which returns a value that is used in the delivery service. However, in some scenarios we can have a few of those widgets in the form and each of them holding a different value. For example, one form has 3 delivery custom widgets as the submissions are delivered into different agencies after the form completed. I'd like to exclude the data xml in the submission of those widgets if only two agencies need to receive the submission.
You could add a Pre Submit rule in Form Options/Form Rules. In the rule code, you can use whatever logic you want to remove selected values from the 'data' object.
Exclude from the xml before the submission takes place. In compose, we have someone from avoka designed a delivery rule custom widget for us that has a include rule return true/false.
If condition met, it will return true(means the delivery code included in the xml and triggered delivery service) otherwise do nothing.
Can you clarify please? Are you trying to exclude the XML in the Form before the submission takes place, or trying to exclude it after it has been submitted to Transact Manager?