in

InfoPath Dev

Submit button: Host page vs InfoPath Form

Last post 10-16-2008 11:19 PM by davehal. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-22-2007 02:13 PM

    Submit button: Host page vs InfoPath Form

    I'm trying to use an InfoPath 2007 browser form hosted in an ASP.NET page, using the SubmitToHost method of submitting the form.

    Are you forced to always use the InfoPath Form submit button, instead of a submit button on the host page? I want to use the latter, but still have the form exhibit all the same form-submission behaviors of the InfoPath submit button. In other words, when I have the button on the InfoPath form page, the form cannot be submitted while the data is invalid (built in feature of InfoPath forms). But if I use a submit button in the host page, I lose that feature -- the form can still be submitted with bad data. I still get the visual indicators that the data is not valid, but I'm not prevented from submitting the form. Also, when the host page submit button is used, the SubmitToHost() method is not fired.
     

    Filed under:
  • 10-16-2008 11:19 PM In reply to

    Re: Submit button: Host page vs InfoPath Form

    Has anyone found a solution for this? I am also trying to perform infopath validation before i submit via the host asp.net page but can't find any way to do so, i even tried looking at the Errors object of the XmlFormView control but you can't access it :(

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