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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top