Solved

Collapse Space of hidden fields in InfoPath form

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

MS Access 2003 or later To MySQL Migration Project Hello All, this is my second article in the category of MS-OFFICE Automation. In internet I am not able to find any comprehensive resource on the Migration of MS Access back-end to MySQL so I fin…
Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.
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…

920 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

14 Experts available now in Live!

Get 1:1 Help Now