Submitting Data without Closing Form (Submitting multiple items one at a time) - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Submitting Data without Closing Form (Submitting multiple items one at a time)

Last post 12-12-2022 04:39 PM by Hilary Stoupa. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 12-07-2022 08:04 AM

    Submitting Data without Closing Form (Submitting multiple items one at a time)

    Hello There, I have a form with a bunch of common fields, and a first name and last name field, which will be different each time. On the NewView, I have a submit button with a bunch of rules on the button. Currently, if they click submit, the data is submitted, the item is created in the list as expected, and instead of closing the form, the last rule on the button switches the view to a view named "SubmitAnother" On that view, there are 2 buttons, "Close the Form" (Closes the form), and "Submit a Similar Item" (Switches the view back to the NewView, and sets a few fields back to blank (like first name and last name), and the previous data is still pre-populated in the common fields from the previous submit (because the form was never closed). In other words, i am trying to streamline data entry while trying to save the user a little time by not having to open a new blank form and re-typing the majority of the common fields again, and again when they have multiple similar entries to enter. The idea seems easy enough, however, I am getting an error on the second submit. Warning: The form cannot be submitted. Save Conflict. Your changes conflict with those made concurrently by another user. If you want your changes to be applied, click Back in you Web browser, refresh the page, and resubmit your changes. My guess is that after the data was submitted the first time, the ID field was assigned a unique number, and the form is not understanding that i want to submit a fresh set of data to the list to create a new item. Any suggestions? Thanks, Mike
  • 12-07-2022 08:39 AM In reply to

    Re: Submitting Data without Closing Form (Submitting multiple items one at a time)

    If I recall correctly there isn't a way to "reset" a list form so it will submit another new item. The work around is to set up the form to submit multiple items, and then use some formatting & rules for setting the common fields all at once. Here is a thread that talks a bit about this approach: https://www.infopathdev.com/forums/t/30871.aspx
    Hilary Stoupa

  • 12-12-2022 10:59 AM In reply to

    Re: Submitting Data without Closing Form (Submitting multiple items one at a time)

    Hello again, Thank you for your reply. That thread does sound promising. Any theories how that workaround can be turned on for an existing list? I tried copying and pasting a repeating section from another template into mine, but it doesn't seem to allow me to bind the control to my forms my:SharePointListItem_RW Thanks, Mike
  • 12-12-2022 04:39 PM In reply to

    Re: Submitting Data without Closing Form (Submitting multiple items one at a time)

    Unfortunately, you have to start the list form from scratch, from InfoPath, to turn this feature on. So, from InfoPath Designer, select the SharePoint List template, enter the URL, select your list and select the option to manage multiple items. That will get you the correct repeating schema....
    Hilary Stoupa

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