Solved

Collapse Space of hidden fields in InfoPath form

Posted on 2010-11-10
3
2,331 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

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…
User Beware!  This is a rather permanent solution to removing your email from an exchange server.  The only way to truly go back is to have your exchange administrator restore your mailbox from backups.  This is usually the option of last resort.  A…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now