Solved

Collapse Space of hidden fields in InfoPath form

Posted on 2010-11-10
3
2,490 Views
Last Modified: 2012-05-10
Hi all,

I have serveral drop down list boxes all running beneath one another. They are hidden and have conditional formating to show when another 'main' selection box value matches.

When previewed each box shows in the same position, just beneath the main selection box, (which is great) when condition is true. but the space the hidden boxes take up doesn't collapse, so there is a big blank space where they are hidden, I have tried putting all the boxes in one table cell, didn't work. I have tried putting each box in a selection area, didn't work. Latest effort, and what I have now is, one selection area in one table cell, and all the boxes within that selection area. Still space doesn't collaspe. Is there a way I can collapse the field space/selection area. I'm sure this is a common problem, novice InfoPath guys like me come across.
Any help greatly appreciated.

Darren
0
Comment
Question by:DJSharepoint
3 Comments
 
LVL 15

Accepted Solution

by:
melli111 earned 250 total points
ID: 34106310
I typically put these in their own Section, but I apply the conditional formatting to the Section instead of the dropdown  (each dropdown would be in it's own section control).... have you tried that yet?  (I hope I'm understanding you correctly)
0
 
LVL 28

Assisted Solution

by:clayfox
clayfox earned 250 total points
ID: 34106542
One thing is to make sure you do not have an enter or carriage return between each control.
Make the bow wide and see if they will organize on the same row.

Next whatever section or layout table you have, make sure that you have sized it to completely collapse.  Try hiding all of them and see if the area will collapse.
You can grab the bottom border, like you were going to size it bigger and click and drag it completely to the top and let go.  It will snap to show eveything but that way if controls are hidden it is not set at a certain size.

Maybe a screen shot would help.
0
 

Author Closing Comment

by:DJSharepoint
ID: 34107057
This worked by having mulitple selections in one table cell, then having the conditional formattng on the section rather than the drop down text box.
Then drag botton of table up to meet top of first section. After doing this, all controls below the table cell that hold the sections will butt up to the bottom of the table, and space will collapse
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I wanted to share this with fellow Experts, who might not know. How often have you wanted to learn something, only to be set back by either restrictions imposed on "trial" or "evaluation" software?  How often have you had to rebuild a home networ…
Before you can digitally sign infopath forms, you must have a digital certificate. Microsoft Certificate Services will need to be enabled on a Windows Server 2008 to facilitate the creation and verification of the digital certifciates on the web ser…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question