Dynamically change repeated control - InfoPath Dev
in

InfoPath Dev

Dynamically change repeated control

Last post 06-09-2006 03:38 AM by erles. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 06-06-2006 05:58 AM

    • erles
    • Not Ranked
    • Joined on 06-06-2006
    • Posts 4

    Dynamically change repeated control

    Hi

    Is there a way to dynamically assign a fixed numbered of fields to a repeated control. That is I have 3 different real-estate project, when i select the first project (in a drop down list) I would like the form to show i.e. 5 fields, when I select the second project I only have 3 fields and so on. Appreciate your help

    Best Regards

    Erlend
  • 06-06-2006 06:33 AM In reply to

    Re: Dynamically change repeated control

    Hi,

    By using conditional formatting we can do this one.

    Steps:

    1.Open form in design mode and take dropdown list box and 5 text boxes.
    2.Set values as 1, 2, and 3 in dropdown list box.
    3.GO to Text box right click on properties and click on display button
    4.Set condition formatting based on the requirement.

    Hope this will help You.

    Thank u.
  • 06-07-2006 08:05 AM In reply to

    Re: Dynamically change repeated control

    Follow this steps in continuation to what Suresh said above
    1. Enter your Five fields in a section 1 and put a condition on this section 1 that if the value is not equal to Project1 in the drop down hide this section 1
    2. Enter your 3 fields in a section 2 and put a condition on this section 2 that is the value is not equal to Project 2 hide this section 2

    Hope this will help you.
    Thanks
    Kalyan G Reddy
    Infopath MVP 2007 and 2008
  • 06-09-2006 03:38 AM In reply to

    • erles
    • Not Ranked
    • Joined on 06-06-2006
    • Posts 4

    Re: Dynamically change repeated control

    Hi

    Thanks - this solves my problem - I'm impressed that the form changes the layout according to the hidden controls. - excellent
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.