Generally we can make a section optional. I want to make a repeating section
as optional . Is that possible ? Hoe can I acheive it ?
Thanks in advance
If you created your schema in the InfoPath designer, it is already set up to be optional. You just need to double-click your repeating section and choose to allow users to add or remove that section.
If you have a custom schema developed outside of InfoPath, you will need to manually set that node to have minOccurs="0".

Signature
Greg Collins [Microsoft MVP]
Visit Brain Trove ( http://www.BrainTrove.com )
Visit InfoPath Dev ( http://www.InfoPathDev.com )
NAT - 22 May 2006 21:41 GMT
Thanks for ur reply. Actually where there is a option that "Allow users to
insert delete". I also see a option "Include this in form by default" in a
non repeating section section. Butin a repeating section I cannot see this
option. I have a repeating section which I do not want to include in the form
by default. Any ideas ?
> If you created your schema in the InfoPath designer, it is already set up to be optional. You just need to double-click your repeating section and choose to allow users to add or remove that section.
>
> If you have a custom schema developed outside of InfoPath, you will need to manually set that node to have minOccurs="0".
Greg Collins [InfoPath MVP] - 23 May 2006 00:41 GMT
Is your repeating section from the main DOM or a secondary data source? If the main data source, then it should have that option.

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