Infopath anonymous users submit button code error RRS feed

  • Question

  • I want anonymous users to submit an infopath form to a library. So I thought of trying out what is said here.

    Here are the steps I configured:

    The Preview is resulting in an error:

    The submit section (xsf:submit element) in the form definition (.xsf) file contains an error.
    The form definition (.xsf) file specifies that submit functionality will be defined in code, but the code does not define a submit event handler.

    Can someone help me with the code? Thanks

    Monday, May 6, 2013 1:41 PM

All replies

  • Hello,

    This code is always works. Try to publish your form in form library first and make sure that your form is browser enabled.

    If this does not works then create new blank form and use same code because "The form definition (.xsf) file" error comes when there is problem with control or you have modified the manifest.xsf file.

    Let us know your result

    Hemendra: "Yesterday is just a memory,Tomorrow we may never see"

    Whenever you see a reply and if you think is helpful, click "Alternate TextVote As Helpful"! And whenever you see a reply being an answer to the question of the thread, click "Alternate TextMark As Answer

    Please feel free to unmark answer if does not resolves your problem.

    Friday, May 10, 2013 9:51 AM