refresh form after submit - InfoPath Dev
in

InfoPath Dev

refresh form after submit

Last post 02-08-2006 07:27 AM by wt1024. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 02-07-2006 02:35 PM

    refresh form after submit

    hi

    I am trying to make the form refresh automatically after submitting data. can anyone tell me how to do that? or what is the code for refresh in javascript?

    thanks
  • 02-07-2006 11:30 PM In reply to

    Re: refresh form after submit

    Hi Wt1024,
    Why does it need to refresh? It should be refreshed since the main DOM's data doesn't change as a result of submit.

    Patrick Halstead [InfoPath MVP]
    InfoPathDev
    Patrick Halstead
    Project Manager at Qdabra
  • 02-08-2006 06:55 AM In reply to

    Re: refresh form after submit

    hi

    in my form, i have a repeating table displaying the records in sharepoint, and at the bottom, i have the user entering details submitting new records. i want to let the user see what they have submitted because they will be sumbitting more than one record.

    i can get this to work with the refresh button, i just want it to do it automatically once the user hit the submit button

    thanks
  • 02-08-2006 07:07 AM In reply to

    Re: refresh form after submit

    I think you will want to add this line of code underneath your submit button:

    XDocument.DataObjects("NameOfSecondaryDataSource").Query();

    ---------------
    Matt Faus
    InfoPath Dev Texas
    Matt Faus / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 02-08-2006 07:27 AM In reply to

    Re: refresh form after submit

    it is working, thanks
Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.