Automatic Insert Section - InfoPath Dev
in

InfoPath Dev

Automatic Insert Section

Last post 11-30-2007 07:33 AM by anotherchrisberry. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 11-26-2007 04:21 AM

    Automatic Insert Section

    Hello,

    I have a form with a repeating section with some controls that must be not blank. I need that 3 sections appears at form load and that the user be able to add other sections if he chooses to. Is this possible?
     

    I'm using InfoPath 2007. 

    Thanks,

    Sérgio 

  • 11-30-2007 07:33 AM In reply to

    Re: Automatic Insert Section

     It's definitely possible, and there are a couple of ways of doing this. You can declare the minOccurs attribute of the element in the schema to "3" with a maxOccurs value of "unbounded".

    Or, if you're so inclined, you can create a loading event within the form's managed code to clone the section and insert it twice, giving you three nodes. Both of these options are pretty easy.
     

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.