Forum Discussion
jasper1234
May 04, 2021Copper Contributor
Form based on sharepoint list entry
Hi, I have made a few forms before to populate a sharepoint list. For this post / what im intenting to do, Im not using forms as a classic survey tool, but to collect delivery dates etc from supp...
jasper1234
May 04, 2021Copper Contributor
thanks a lot for your quick reply!
Would it be possible for forms to have another kind of identifier which makes sure which specific item in the sharepoint list should get the details after the user submits the form?
The columns would always be same, but the row would be different (according to this particular order number).
Br
Jasper
RobElliott
May 04, 2021Silver Contributor
You would need to get the flow to add the ID number from the SharePoint list item into the email. The user completing the form would then need to enter that ID number into a question in the form. The second flow that runs when the form is submitted would need a filter query to update the list based on that ID number.
- jasper1234May 04, 2021Copper Contributorthats possible. i do have a unique identifier for each item in the sharepoint list. Can the form itself check onsubmit if this ID exists? and return an error message / not submit the info in case the ID does not exist?
- RobElliottMay 04, 2021Silver Contributor
jasper1234 All forms can do is to submit the answers to questions, it cannot do anything else: it can't check OnSubmit or give you an error message if an ID doesn't exist. It's a very simple forms tool.
- jasper1234May 04, 2021Copper Contributorok, thanks. but then we need a flow anyways to get the data from the form into sharepoint, right? so the flow i assume i can as well ask the flow to find the relevant entry, and take a different action instead of saving the data into the list... send an email as error message for example. right?