Run same rules on multiples dropdown controls - InfoPath Dev
in

InfoPath Dev

Run same rules on multiples dropdown controls

Last post 02-16-2007 05:29 AM by Galford. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 02-13-2007 06:20 AM

    • Galford
    • Not Ranked
      Male
    • Joined on 02-12-2007
    • Puerto Rico
    • Posts 7

    Run same rules on multiples dropdown controls

    I have a form that has 12 rows. On each row i have 3 dropdown lists and 1 text box. I want to set the text box field based on the values selected on the 3 dropdown. I know how to set the value on tlhe text box using rules.
    The problem is that I have multiples rules (17 to be exact) on the third dropdown (the one i use to set the text box value) I used the same rules for each row.

    Do I have to set all 17 rules on each third dropdown list for every row?????

    Example of rules: if x=1 and y=1 and z= 1 or 2 or 3; set value to "Low"
    Thanks for the help
    Do or Do not...there is no try.
  • 02-13-2007 10:26 PM In reply to

    Re: Run same rules on multiples dropdown controls

    Hi and welcome to the forums,
    Do u have these rows in the repeating table or normal
    If it is in the repeating table,we can set rules only once, if it is not in the repeating table then we have to set all rules for each row.

    Hope this helps!
    Shilpa
    INFOPATHDEV India
  • 02-13-2007 10:31 PM In reply to

    Re: Run same rules on multiples dropdown controls

    Hello
    Welcome to Infopath forums

    If you are going to use only Infopath designer then you should repeat the process of setting rules to every row. Else you can use Code and declare all the rules and create a method and using an on after change on the drop down call the method everytime the value in the drop down changes.
    Kalyan G Reddy
    Infopath MVP 2007 and 2008
  • 02-16-2007 05:29 AM In reply to

    • Galford
    • Not Ranked
      Male
    • Joined on 02-12-2007
    • Puerto Rico
    • Posts 7

    Re: Run same rules on multiples dropdown controls

    Kaylan and Shilpa: thanks a lot for your feedback.
    Shilpa, that's exactly what I want to do. The proble is, I don't know how to do it. I have some knowledge on VB and C# code. But on Infopath I don't know how to implemented. For example how to make reference to the rules on code.
    Is there a tutorial or something on this site that can help me do this?
    Thanks again for your time and support. Keep the good work.
    Do or Do not...there is no try.
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.