optional section - InfoPath Dev
in

InfoPath Dev

optional section

Last post 12-08-2005 02:23 PM by Ben. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 12-08-2005 01:23 PM

    • Ben
    • Top 500 Contributor
    • Joined on 11-17-2005
    • Germany
    • Posts 33

    optional section

    I have an optional section in my form to store some additional data. The only problem is that I can insert the additional section in my forme only once. Is there a possibility to let the user include this section in my form twice or even more times?
  • 12-08-2005 02:11 PM In reply to

    You could just use a repeating section and delete the first section that InfoPath automatically puts in using code in the onLoad() method.
    var parent = XDocument.DOM.selectSingleNode( "//my:ContainingGroup" );
    parent.removeChild( parent.selectSingleNode( "my:repeatingSection") );


    ---------------
    Matt Faus
    Matt Faus / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 12-08-2005 02:23 PM In reply to

    • Ben
    • Top 500 Contributor
    • Joined on 11-17-2005
    • Germany
    • Posts 33
    Thanks Matt. Once again great work...
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.