closing form causes "do you want to submit" dialog box - InfoPath Dev
in

InfoPath Dev

closing form causes "do you want to submit" dialog box

Last post 10-13-2010 12:18 PM by Vertekal. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 10-13-2010 07:21 AM

    • Vertekal
    • Not Ranked
      Male
    • Joined on 10-08-2010
    • Tampa, FL
    • Posts 9

    closing form causes "do you want to submit" dialog box

    more newbie stuff ...

    I have a form that gets submitted by a user. This causes the form to be emailed to an approver.

    The approver opens the email, and there's a button control on the form that the approver clicks, which then causes the form to get emailed to a 3rd person. This stuff is all working properly.

    The problem occurs when that same approver goes to close the email after clicking the button, he gets prompted "Do you want to submit (subject of email)"

    If he clicks Yes, the form is then submitted a 2nd time (basically duplicating the original user's submission). Then it goes into a loop and keeps prompting "Do you want to submit"

    If he clicks No, the form closes and life is good.

    Any ideas?

  • 10-13-2010 07:33 AM In reply to

    • Vertekal
    • Not Ranked
      Male
    • Joined on 10-08-2010
    • Tampa, FL
    • Posts 9

    Re: closing form causes "do you want to submit" dialog box

    I did find this: http://social.msdn.microsoft.com/Forums/en-US/sharepointinfopath/thread/3d243da8-25c1-42d0-b111-479498919f71?prof=required

    but i'm not sure how to tweak the code for my own purposes. I'll try messing with it though.

  • 10-13-2010 11:57 AM In reply to

    Re: closing form causes "do you want to submit" dialog box

    Easy. Add a condition on your submit button so that it only submits if a field in the form is in a certain state.

    Patrick Halstead
    Project Manager at Qdabra
  • 10-13-2010 12:18 PM In reply to

    • Vertekal
    • Not Ranked
      Male
    • Joined on 10-08-2010
    • Tampa, FL
    • Posts 9

    Re: closing form causes "do you want to submit" dialog box

     

    Sounds too easy .. I'll give it a shot

    Thank you!!!!

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