Conditionally Hide a Date Control - InfoPath Dev
in

InfoPath Dev

Conditionally Hide a Date Control

Last post 06-29-2011 02:09 PM by Hilary Stoupa. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 06-29-2011 12:07 PM

    Conditionally Hide a Date Control

    Hi Everyone:

     I'm very new to InfoPath - in fact, I'm the first person in my org to work with it, so I'm very grateful for any external guidance.

     I have a form with a control which contains a date.  I need to hide this control unless another indicated by another control.

    I have figured out that hiding via conditional formatting works on many control types, but not on dates.

    I have figured out via web research that the way to do this is to place the date control within a section, then conditionally hide the section.  Sounds like a great idea.

    However, the field is within a repeating table, which seems to indicate that I need to bind the section to data.  Fine - I can do that.  However, when I pick the field, or even the group of fields (specifically, my:SharePointListItem_RW) , I get the error "A repeating section must be bound to a field or group that repeats."

     I get a little further if I pull the date out of the repeating table section.  I can create a new section that is automatically bounded to the same sharepoint list.  Piece of cake.  But when I select the section the ability add a rule is disabled.

    What am I doing something wrong?  Using the whole wrong approach?  Or does this simply not work in a repeating table?

    Thanks so much for any guidance!

  • 06-29-2011 02:01 PM In reply to

    Re: Conditionally Hide a Date Control

    I have figured out how to resolve this outside of the repeating table.  No need to respond.

  • 06-29-2011 02:09 PM In reply to

    Re: Conditionally Hide a Date Control

    As an FYI, you can create a section that is bound to the same field as the date time control and put that in your repeating table, then put your date picker inside the section.

    Hilary Stoupa

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