Displaying template patrs as a tree view structure on a infopath form. - InfoPath Dev
in

InfoPath Dev

Displaying template patrs as a tree view structure on a infopath form.

Last post 07-12-2010 08:10 AM by RSharepoint. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 06-24-2008 09:13 PM

    Displaying template patrs as a tree view structure on a infopath form.

    Hello Guys,

                     i have a scenario where i have to display template parts as a tree view structure on a form.

    by default + symblol button will be there with heading of Template part. if i click on + button the respective templatepart has to expand(show all the controls of that template part) and button text has to change to -(minus) if i click on minus template part has to close and only heading will be visible with + button.

    if any body has any idea please share with me.

    Thanks and Regards,

    phani.vattikuti 

     

    Filed under:
  • 07-19-2008 03:48 AM In reply to

    • Shiva
    • Top 25 Contributor
    • Joined on 04-15-2005
    • India
    • Posts 694

    Re: Displaying template patrs as a tree view structure on a infopath form.

    Hello,

    You have add two buttons ( + , -) in header part of the template.

    Follow the below steps to show / hide the section.

    1. Respective fields or controls you have move into one section.

    2. On ‘+’ button you have to set condition is ‘expand is equal to true’ hide and same as opposite for ‘–‘ button have the condition is ‘expand is not equal to true’ hide the control. (Expand is secondary variable to show / hide the button).

    3. On ‘+’ button you have to set the rule to set ‘expand’ to true and same as for ‘-‘ button have the rule is set ‘expand’ to false.

    4. You have to add one condition for section is: ‘expand is not equal to true’ hide the section.

    Note: Expand field default value is false.

  • 07-12-2010 08:10 AM In reply to

    Re: Displaying template patrs as a tree view structure on a infopath form.

    Hi Shiva,,

      I have a similar requirement to create a tree view in infopath...I have gone through your post but could not understand how to check if the + button is clicked.I am new to Infopath froms..Could you please elaborate your explaination as to how to create it.

    Thank You

     

     

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