Adding rules to button - InfoPath Dev
in

InfoPath Dev

Adding rules to button

Last post 03-25-2008 10:20 PM by rohit. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 03-25-2008 10:20 PM

    • rohit
    • Top 500 Contributor
    • Joined on 03-17-2008
    • Posts 50

    Adding rules to button

    Hi,

    i have developed form using infopath.
    It has two dropdown on first page.When i select first dropdown it shows checkboxes below repeating sections section.when i select checkbox it goes to second page and shows that much(equal to selected checkbox)subpages on second pages they are on after another.i have implemented it using count property.On third page it shows all selected contents of second supages.

    when i select second dropdown on first page
    it shows correponding checkbox below repeatingsections section.but it wont shows it on second page.

    What i want to do, if i select second dropdown along with first then content of both want to show on second page(on subpage for on checkbox)

    on second page,i have repeating section’s filter data property
    count(preceding::my:Competency[my:Position = ../../my:Position and my:IsSelected = “1″]) + 1 = ../../my:ViewLogic/my:SubPage

    which creates subpages equal to selected checkbox of first page.Position is first dropdown,i want to add condition for second dropdown.i have one button which enables when we select checkboxon second page(subpage)
    In its conditional formating i added
    count(../../my:Competencies/my:Competency[count(preceding::my:Competency[my:Position = ../../my:Position and my:IsSelected = “1″]) + 1 = ../../my:ViewLogic/my:SubPage]/my:Questions/my:Question[my:IsSelected = 1]) = 0

    and in rules i have added set condition
    SubPage=count(Competency[Position=Position and IsSelected=”1″])

    This work well for first dropdown.i want combine condition for first dropdown and second dropdown
    i.e.i want to implement
    if(dropdown1)then content OR
    if(dropdown1 and dropdown2)then content.

    Thanks forany help....... 

     

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