Rule Help - InfoPath Dev
in

InfoPath Dev

Rule Help

Last post 05-24-2012 07:22 PM by stwp86. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 05-24-2012 05:55 PM

    • stwp86
    • Not Ranked
    • Joined on 05-10-2012
    • Posts 7

    Rule Help

    So, I will admit, I do not fully understand the capabilities of InfoPath, or the best way to achieve what I want.  All I know is, I have been struggling with this for a while now. So any help is greatly appreciated.

    Basically, I have a lookup field (dropdown named region/date/team).  What I want to do is when this look up field contains "West-12/1/2012 - ABC-Playbook" I want to make another field (Team) set to "ABC-Playbook"

     I thought that I could do this with an action rule saying Region/Date/Team > Contains > "ABC-Playbook"

    Then Set Field Team to ABC-Playbook

    This has been really frustrating for me, any thoughts?

    Thanks!

     Travis 

     

     

     

  • 05-24-2012 07:22 PM In reply to

    • stwp86
    • Not Ranked
    • Joined on 05-10-2012
    • Posts 7

    Solved It ! . . .

    Rule: region/date/time field > 1

    Action: Set Field - Team = substring-before(string(Region_x002f_Team), string(" - "))

     Where region is the region/date/time title field not the ID field - I had a " - " in the string that i searched for

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