Add Replace Function - InfoPath Dev
in

InfoPath Dev

Add Replace Function

Last post 12-23-2009 01:52 PM by Alec Pojidaev. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 07-17-2006 08:30 AM

    Add Replace Function

    According the Xpath 2.0 spec, described at www.w3schools.com/xpath there is a "Replace" function. It would be good if this was added to InfoPath, along with any other functions in this spec that are not currently available.
    Dean
    Charlotte, NC
  • 07-18-2006 10:21 AM In reply to

    That is true. InfoPath uses XPath 1, and I'm sure will at some point be upgraded to 2. There are also a few XPath extensions the Microsoft has made which are available to you. But unfortunately, I don't believe they will integrate individual functions in one at a time, but will rather wait until XPath 2 is complete, and then make a transition. For now we are stuck using "translate()" or writing some custom code.
  • 12-22-2009 01:46 PM In reply to

    • ramii
    • Not Ranked
    • Joined on 02-02-2009
    • Posts 13

    Re: Replace / Translate Function ( to remove double quotes )

    Hi Greg,

    Can you help me replacing double quotes in a multilinetextbox without any code. I was able to replace all the other special characters using

    translate function.

    Thanks,

    Ramii

  • 12-23-2009 01:52 PM In reply to

    Re: Replace / Translate Function ( to remove double quotes )

    You will need to create additional text field and set its default value to the quotes sign. Then you should use the reference to that field instead of directly typing text you want to be replaced.

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