problems with using rules and auto numbering on a submit button - InfoPath Dev
in

InfoPath Dev

problems with using rules and auto numbering on a submit button

Last post 12-23-2010 08:40 AM by garrea. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 12-23-2010 06:29 AM

    • garrea
    • Not Ranked
    • Joined on 06-30-2010
    • Posts 6

    problems with using rules and auto numbering on a submit button

    hi all,

    i have an infopath form that submits to a sharepoint library, having followed the following tutorial - http://www.bizsupportonline.net/browserforms/autonumber-infopath-form-submitted-sharepoint-library.htm it creates an autonumber for each form thats submitted.

    what i wish to do is when submit is clicked, i want the form to be submitted to the document library with the autonumber and an email sent to the user who submitted the form. i managed to do this by setting up a rule so that an email is created and sent to a field that i have added into the form however this works and works well it has stopped the autonumbering taught in the above link and just creates NaN files instead.

     can you suggest any solutions where i can add this with minimal coding?

     any helo would be greatfully recieved.

  • 12-23-2010 08:30 AM In reply to

    Re: problems with using rules and auto numbering on a submit button

    Hello,

    Best practice for auto-numbering is to do a double submit. Submit to SharePoint, query the number assigned, set the field for the number, and then submit again. If you are also emailing the form, do that only after the other actions. I'm not sure what S.Y.M. Wong said in her blog. We don't support her web site. You're best asking her to explain herself. We have our own best practices and don't advocate writing code since it isn't needed most of the time.

    Happy trails!

    Patrick Halstead
    Project Manager at Qdabra
  • 12-23-2010 08:40 AM In reply to

    • garrea
    • Not Ranked
    • Joined on 06-30-2010
    • Posts 6

    Re: problems with using rules and auto numbering on a submit button

    could you explain how you go about the double submit for me that would be brill.

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