Hiding blank controls in view - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Hiding blank controls in view

Last post 11-03-2011 01:42 AM by saswiss. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 11-01-2011 10:52 PM

    Hiding blank controls in view

    Hi,

    I have an InfoPath 2007 form with different views (summary, address, finance, etc.) which users have to complete. The last view is an overview of ONLY the fields (in sections) containing data. That means if a field is blank, it should not appear in the view.

    I have tried this with duplicating all the fields of the form on the Overview page, and then using conditional formatting to hide the controls that are empty, BUT this produces a page with a lot of blank spaces in-between...

    Any suggestions from your side would be much appreciated!

    thanks

    SA

    Filed under: , ,
  • 11-02-2011 03:11 AM In reply to

    Re: Hiding blank controls in view

    Hi,

    It is the unique solution but you would not have a lot of black space.

    In order to avoid this spaces, select the table within the control is put, and then select properties, then "line" tab, and put autofit (or automatically adjust, I don't know the exact term because I have a french edition).

    Do this on each array of your form, and you will not see blank space when the control is empty!

    Hope this help.

    Rémi MATAYRON / MVP InfoPath
    Visit my blog : Infopath Blog
  • 11-03-2011 01:42 AM In reply to

    Re: Hiding blank controls in view

    Hi Rémi,

    thank you SO much!! It works like a dream :-)

    take care

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.