How to remove http: when adding hyperlink? - InfoPath Dev
in

InfoPath Dev

How to remove http: when adding hyperlink?

Last post 05-30-2006 12:35 PM by Greg Collins. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 05-24-2006 07:50 AM

    • cat
    • Not Ranked
    • Joined on 04-21-2006
    • Posts 10

    How to remove http: when adding hyperlink?

    Any idea?
    Inside my rich text box im trying to add a hyperlink. I will use a relative path in the link.The problem is infopath is always adding a http: in the beggining of my path.

    how can I control this behaviour?

    Thanks
    cat
  • 05-24-2006 09:59 AM In reply to

    Re: How to remove http: when adding hyperlink?

    Ah yes! I loath that "feature" which automatically adds in the "http://". What I end up doing is editing the completed XML file in Notepad to remove the ones I don't want. I so far haven't found anything better than this.
  • 05-24-2006 09:52 PM In reply to

    • cat
    • Not Ranked
    • Joined on 04-21-2006
    • Posts 10

    Re: How to remove http: when adding hyperlink?

    Thanks for the info!

    How about editing it in infopath stylesheet?is it possible?
  • 05-30-2006 12:35 PM In reply to

    Re: How to remove http: when adding hyperlink?

    No. This InfoPath feature makes sure that you have an "http://", "https://", "ftp://" (and possibly a few others) starting your hyperlinks. Every time you edit your hyperlink, if none of these are present, InfoPath will automatically add in "http://" to the start of your hyperlink.

    The only way to fix this is to edit your .xml file in Notepad (or another text editor) after you save it from InfoPath.
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.