T
Tim
I was recently handed an Infopath file that I have been asked to update and
enhance for one of our departments. I have never used InfoPath before now,
but I have been able to handle all of the content changes.
The document is a foodservice menu with multiple sections (breakfast, lunch,
dinner, etc). At present when food service prints the submitted form (it
submits to a SharePoint form library), they end up printing the entire
document (7 pages).
I am looking for a way to only print completed sections. I have tried using
an optional section that is set to include by default and using conditional
formatting based on the section subtotal (total=0 then hide the section) but
of course at form load, the total is 0 and the section is hidden.
What I would like to do is tie the conditional formatting to the Submit
button but I have not found a way to programmatically hide a different
control based on conditions. That is, when I click submit, it should hide any
sections with a subtotal of 0 and then submit the form to the SharePoint form
library.
Any suggestions?
enhance for one of our departments. I have never used InfoPath before now,
but I have been able to handle all of the content changes.
The document is a foodservice menu with multiple sections (breakfast, lunch,
dinner, etc). At present when food service prints the submitted form (it
submits to a SharePoint form library), they end up printing the entire
document (7 pages).
I am looking for a way to only print completed sections. I have tried using
an optional section that is set to include by default and using conditional
formatting based on the section subtotal (total=0 then hide the section) but
of course at form load, the total is 0 and the section is hidden.
What I would like to do is tie the conditional formatting to the Submit
button but I have not found a way to programmatically hide a different
control based on conditions. That is, when I click submit, it should hide any
sections with a subtotal of 0 and then submit the form to the SharePoint form
library.
Any suggestions?