Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / June 2006

Tip: Looking for answers? Try searching our database.

Removing a section programmatically

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
saelbeth@gmail.com - 21 Jun 2006 19:36 GMT
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
Greg Collins [InfoPath MVP] - 30 Jun 2006 20:30 GMT
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.

Signature

Greg Collins [Microsoft MVP]
Visit Brain Trove ( http://www.BrainTrove.com )
Visit InfoPathDev ( http://www.InfoPathDev.com )

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.