Help needed with setting up Rule - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Help needed with setting up Rule

Last post 01-31-2011 01:43 PM by explosive0. 8 replies.
Page 1 of 1 (9 items)
Sort Posts: Previous Next
  • 01-30-2011 03:44 PM

    Help needed with setting up Rule

     Creating some forms on InfoPath for SharePoint.

    I have 2 SharePoint lists as described:

    List 1, named Inventory, has 2 columns. 1 for inventory title, and the other for description.
    List 2, named Personnel, has 2 columns. 1 for Department Name, and the other for Department Chair.

    I've been able to create the form, but I'm having a little issue.

    The idea is for the person filling out the form to select his Department. Once the Department is selected, I want the Department Chair box to automatically populate. I sort of got it to work, except for whatever Department I selected, it always populated the Department Chair that was first on the list.

    I think I'm messing up someone on the rules.

  • 01-30-2011 05:31 PM In reply to

    Re: Help needed with setting up Rule

    Hi, you've probably forgot to set a filter on your rule. Try to set a filter based on the department value and your secondary data connection.
  • 01-31-2011 08:17 AM In reply to

    Re: Help needed with setting up Rule

     I tried that, still doesn't work. I think I'm doing something wrong.

     

  • 01-31-2011 08:38 AM In reply to

    Re: Help needed with setting up Rule

    Hi, can you attach your form ? I want to check your rules it's difficult to help with the current information.

  • 01-31-2011 08:48 AM In reply to

     Form attached.

     I want the Supervisor to automatically populate based on their selection in the Department field. 

     Please let me know where I went wrong. I'm new to IntoPath. 

     Thanks

  • 01-31-2011 11:18 AM In reply to

    Re: Help needed with setting up Rule

    Hi, I don't see any filter on your drop down...

    Right click on your control, click on xpath on your data connection and set a filter on this window.

  • 01-31-2011 12:29 PM In reply to

    Re: Help needed with setting up Rule

     Thanks for helping out with the rules, but I'm still really confused, and new to InfoPath. What parameters should I set when setting the filter? Set Department on the data source to Department on the form field?

  • 01-31-2011 12:42 PM In reply to

    Re: Help needed with setting up Rule

    Hi, you're right you have to set department on your data source is equal to department on your infopath field.

    Edit: I just figure out where is your problem it's on your rule, you set a filter based on the supervisor and not on the department. Forgot the filter on the department control it's not what you need (Sorry for that)...

     

  • 01-31-2011 01:43 PM In reply to

    Re: Help needed with setting up Rule

     You sir, are indeed a scholar and gentleman.

     Thank you very much!

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