Prevent User from filling out a form more than once

R

Rico B. Raben

Hi all

I have made a small questionnaire form, which I would like the Users to only
fill out once. The forms are then saved send to a SharePoint document
library. One of the columns contains the UserName() value of the user who
have send the form.

My question is – Is it possible to show the user a different view in the
InfoPath form if they already have fillet out the form before.

My idea is to connect the SharePoint document library where the forms are
saved as a secondary data connection and then when the form are opened loop
through the column containing the UserName() value.

Something like

IF UserName (current) = UserName(coulums)
Then
Show this View (You already done it)
Else
Show this view (new form)

As you can see I am no shark in coding :) - but I am already are using some
VSTA C# code in my form. So if some of you cut give me an idea on how the
code (C#) should like I would be very happy

Regards Rico
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top