in

InfoPath Dev

Drop-Down List Box and Repeating Section.

Last post 10-06-2008 10:24 PM by ravig. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 10-04-2008 10:41 PM

    • sirii
    • Top 200 Contributor
    • Joined on 10-03-2008
    • Posts 23

    Drop-Down List Box and Repeating Section.

    Hi,

    I am designing a new infopath 2007 form for my project.

    I have a dropdown list box in my form.I have added few names to the drop down list box.

    Under the drop-down list box I have a repeating section.I have added a rich text box to the repeating section.

     

    I want to allow the users to enter multiple comments so I have added rich text box to the repeating section.

    If any person open the form they should select their name in dropdown list box and should write comments in rich text box(It is in repeating section).Multiple users use the same form.

    For example consider "Andy opens the form select his name in dropdown list box and write comments in the rich text box,Bob opens the same form select his name in dropdown list box and write comments in the rich text box(It can be re used because it is in the repeating section).

    Now the problem is I want to know the person(names are in dropdown list box) who has written comments in rich text box.

    Please help me.

     

  • 10-05-2008 09:50 PM In reply to

    • ravig
    • Top 200 Contributor
    • Joined on 06-21-2008
    • Posts 23

    Re: Drop-Down List Box and Repeating Section.

    Hi Sirii,

    Use Master-Detail table to solve your problem. Keep the drop down list box in Master section and rich text box in Detail section.

    Ravi G
  • 10-06-2008 11:20 AM In reply to

    • sirii
    • Top 200 Contributor
    • Joined on 10-03-2008
    • Posts 23

    Re: Drop-Down List Box and Repeating Section.

    Not working Ravi.

  • 10-06-2008 11:41 AM In reply to

    Re: Drop-Down List Box and Repeating Section.

     Hi sirri,

    What is the problem you are facing while using Master-Detail table?

  • 10-06-2008 01:34 PM In reply to

    • sirii
    • Top 200 Contributor
    • Joined on 10-03-2008
    • Posts 23

    Re: Drop-Down List Box and Repeating Section.

    Hi Santosh,

    While using master-detail table,It is populating more than one dropdown list box's in the same form.I want to use only one dropdown list.

  • 10-06-2008 10:24 PM In reply to

    • ravig
    • Top 200 Contributor
    • Joined on 06-21-2008
    • Posts 23

    Re: Drop-Down List Box and Repeating Section.

    Hi Sirii,

    Add one text box (say field3) in repeating section. Now for drop down list box(say field1) set a rule which has to be fire always. Now go to manifest.xsf and edit it in visual studio.
    Search with the rule name you declared for above rule and change the action to
    <xsf:assignmentAction targetField="../my:group1/my:group2[last()]/my:field3" expression="."></xsf:assignmentAction>
    Here group2 is repeating section.

    Ravi G
Page 1 of 1 (6 items)
Copyright © 2003-2007 Qdabra Software. All rights reserved.
View our Terms of Use.