Validate a URL in InfoPath 2003 in Fully Trusted form. - InfoPath Dev
in

InfoPath Dev

Validate a URL in InfoPath 2003 in Fully Trusted form.

Last post 06-06-2008 11:23 AM by Petronomicon. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 06-06-2008 11:23 AM

    Validate a URL in InfoPath 2003 in Fully Trusted form.

    Hello - and thanks for such a great site.

     Is there a way in InfoPath to validate a URL?  Like checking a return code or something.

     It doesn't appear that TaskPane.Navigate will return a success/fail value.  If it does, that would work too!

    I've also tried HTMLDocument.all in the custom task pane to attempt to retrieve HTML values, and I only need the title text, but I keep getting a "does not exist" error. This is my jscript code: 

    var elem = XDocument.View.Window.TaskPanes(0).HTMLDocument.all
    XDocument.UI.Alert(elem.item(title));

    Thanks for the help.

     

     

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