How to save form using js - InfoPath Dev
in

InfoPath Dev

How to save form using js

Last post 04-12-2007 01:08 AM by madhuri. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 04-11-2007 10:50 PM

    How to save form using js

    Hi
    I would like to save the filled up form on the click on a button. I would like to use Java Script to do this as i dont have Visual Studio Tools For Office. It would be great if anybody could help me with this.


    Thanks
    Sriraag
  • 04-12-2007 01:08 AM In reply to

    Re: How to save form using js

    Hi sriraag

    The following steps will walk you through to solve your problem

    1. Open form in design mode
    2. Go to Properties window of button
    3. click on 'Edit Form code' button
    4. write the following code in 'OnClick function'

    Xdocument.Save();


    And the form must be full trust, not just from the same domain.
    Marking the form as coming from a Trusted Site is not sufficient.

    You can make the form fully trusted by:
    A) Registering it on each user's computer using an msi, or jscript file.
    B) Digitally Signing the form (SP1 only)
    Madhuri
    http://www.ggktech.com
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.