Routing a form through email - is it possible to restrict a second submit? - InfoPath Dev
in

InfoPath Dev

Routing a form through email - is it possible to restrict a second submit?

Last post 02-17-2010 10:45 AM by swbb18. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 02-16-2010 08:50 AM

    • swbb18
    • Not Ranked
    • Joined on 02-08-2010
    • Posts 7

    Routing a form through email - is it possible to restrict a second submit?

    I have a request form that I have setup to route along an approval chain through email data connections (based on approvals, goes from one to next to last).  After fully approved, it is submitted back to the Sharepoint form library.  What I'm trying to do is to limit the ability of one of the approvers who receive the form through email from submitting their decision a second time.  Is there a way to prevent this?

    It seems that the form is received in a certain state for person X, and any changes to the data are included when submitted and emailed to the next person (person Y) but do not save, meaning when person X re-opens the form from their inbox after already submitting it looks the same as when they first received it and can submit it all over again the same.

    Any thoughts on preventing this?  Thanks.

  • 02-17-2010 04:57 AM In reply to

    Re: Routing a form through email - is it possible to restrict a second submit?

    hi,

    you can restrict the users from submitting the form again,

    create a field submitted_by in your template, also promote this field.

    each time anybody submit just concat his username to this field.

    create a (recieve) data connection to the data library that will retrieve this promoted field for current form.

    on the submit button have conditional formatting

    if retrieved_field contain userName() 

    hide submit button

    Qazi Anis
    Technical Architect
    Bitwise Inc
  • 02-17-2010 10:45 AM In reply to

    • swbb18
    • Not Ranked
    • Joined on 02-08-2010
    • Posts 7

    Re: Routing a form through email - is it possible to restrict a second submit?

    Thank you, that's a helpful idea!

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