Discussion:
Extra Spaces Between Optional Sections
(too old to reply)
Sandy
2006-04-17 15:37:01 UTC
Permalink
I have created many Infopath forms with multiple optional sections on them.
Each section is directly below the previous one, yet when I preview the form
or fill it out and print it, I get extra spaces between some of the sections.
This didn't start happening until recently, and I can't figure out what is
causing it. I have tried everything I can thing of to get rid of the extra
spaces, but to no avail. Any suggestions would be greatly appreciated. Thanks!
Ben Walters
2006-04-17 23:19:01 UTC
Permalink
Sandy,
Have you tried laying your optional sections out in a table this way they
should not attempt to create any extra space between them.

Hope this helps
Cheers
Ben
Post by Sandy
I have created many Infopath forms with multiple optional sections on them.
Each section is directly below the previous one, yet when I preview the form
or fill it out and print it, I get extra spaces between some of the sections.
This didn't start happening until recently, and I can't figure out what is
causing it. I have tried everything I can thing of to get rid of the extra
spaces, but to no avail. Any suggestions would be greatly appreciated. Thanks!
Sandy
2006-04-18 11:48:02 UTC
Permalink
Ben,

Thanks for your suggestion. I just tried it, but I still get the same
result. I didn't mention it before, but each of my optional sections
contains a repeating section. The extra space, when it occurs, appears
between the bottom of my repeating section and the "Insert item" line. I
have compared properties on all the optional and repeating sections which
appear correctly with the ones which have extra spaces, and they are
identical. They also look identical until I switch to preview mode.
Post by Ben Walters
Sandy,
Have you tried laying your optional sections out in a table this way they
should not attempt to create any extra space between them.
Hope this helps
Cheers
Ben
Post by Sandy
I have created many Infopath forms with multiple optional sections on them.
Each section is directly below the previous one, yet when I preview the form
or fill it out and print it, I get extra spaces between some of the sections.
This didn't start happening until recently, and I can't figure out what is
causing it. I have tried everything I can thing of to get rid of the extra
spaces, but to no avail. Any suggestions would be greatly appreciated. Thanks!
Greg Collins [InfoPath MVP]
2006-04-18 18:22:39 UTC
Permalink
By default, sections have padding and margins and a 1pt white border associated with them. You need to remove the border and set each of the padding and margin values to 0. The margins and padding are in the section properties dialog box.
--
Greg Collins [InfoPath MVP]
Visit http://www.InfoPathDev.com


"Sandy" <***@discussions.microsoft.com> wrote in message news:916E52F4-6DEE-4E9B-B9D2-***@microsoft.com...
I have created many Infopath forms with multiple optional sections on them.
Each section is directly below the previous one, yet when I preview the form
or fill it out and print it, I get extra spaces between some of the sections.
This didn't start happening until recently, and I can't figure out what is
causing it. I have tried everything I can thing of to get rid of the extra
spaces, but to no avail. Any suggestions would be greatly appreciated. Thanks!
Sandy
2006-04-18 18:45:02 UTC
Permalink
Greg,

Believe it or not, I did all this yesterday when someone in another
discussion group suggested I try it. Unfortunately, this did not change the
situation. Thanks anyway.
Post by Greg Collins [InfoPath MVP]
By default, sections have padding and margins and a 1pt white border associated with them. You need to remove the border and set each of the padding and margin values to 0. The margins and padding are in the section properties dialog box.
--
Greg Collins [InfoPath MVP]
Visit http://www.InfoPathDev.com
I have created many Infopath forms with multiple optional sections on them.
Each section is directly below the previous one, yet when I preview the form
or fill it out and print it, I get extra spaces between some of the sections.
This didn't start happening until recently, and I can't figure out what is
causing it. I have tried everything I can thing of to get rid of the extra
spaces, but to no avail. Any suggestions would be greatly appreciated. Thanks!
DolceVita
2006-04-19 05:37:13 UTC
Permalink
Hi,

If you have some button or table inner that you have hide with
conditionnal formating infopath keep the height of this two element!

Hope this help
Sandy
2006-04-19 11:49:03 UTC
Permalink
I finally stumbled onto the solution to my problem, though I still don't know
what caused it. If I go to the bottom of my repeating section and click
Delete, my extra spaces disappear in Preview mode. The strange thing is that
when I click Delete, nothing changes in Design view because nothing is there
to delete. The fact that these forms used to lack the extra spaces and I
have done nothing to them since then, and the fact that all of my 50 plus
forms now have this new problem reinforces my belief that I did not cause
this to happen. I wonder if the latest updates could have something to do
with this? Thanks, everyone, for your suggestions. If anyone figures out
what causes this problem, please let me know. Thanks again.
Post by DolceVita
Hi,
If you have some button or table inner that you have hide with
conditionnal formating infopath keep the height of this two element!
Hope this help
Continue reading on narkive:
Loading...