Removing a section programmatically

S

saelbeth

I'm working on a code, with multiple parts. Depending on what the user
selects at the beginning, I only want certain sections to exist. Is
there a way of programming the form such that certain sections will
only exist if another control is checked off? (Also, it is important
that the sections exist/don't exist and are not just hidden and shown).

~Anthony
 
G

Greg Collins [InfoPath MVP]

You would, in code, select the section node, and then remove it from the DOM.

If you are not familiar with the process, you'll need to do some research into XML DOM programming.
 
Top