Search - InfoPath Dev Sign in | Join | Help InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads Search More Search Options Page 1 of 1 (3 items) xpath replace functionality I search the forums and did not see an identical post, but this must be a typical request. I need to replace all occurances of WordA with WordB inside a field. I tried this: concat(substring-before(field, "WordA"), "WordB", substring-after(field, "WordA")) The problem I having is "WordA" may ... Posted to Newbie Questions (Forum) by sheilaA on 06-19-2012 Re: How to get the value of a text field that is unknown at design time [quote user="Jimmy"]It should be possible to pull this off with a single rule action and no conditions. As you've discovered, concat("../my:comm_1text/my:comm_", .) won't work because that just produces the text value ../my:comm_1text/my:comm_X. How about something like this: ../my:comm1_text/*[local-name() ... Posted to Newbie Questions (Forum) by sheilaA on 06-19-2012 How to get the value of a text field that is unknown at design time I am trying to write a rule that sets the value of a field with another field's value that is not known at design time. Depending on which option is selected (1,2,...) I want to select the value from fields: comm_1, comm_2, comm_3,....., comm_n and put it into Field A So I have 3 fields involved in this rule. #1 The ... Posted to Newbie Questions (Forum) by sheilaA on 06-18-2012 Page 1 of 1 (3 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.