Vulnerability in EPiServer.Forms
Here is what I would like to do: check if a logged in user (current user) has submitted information on a form which is on another page. I am not sure how to grab the form which is on the other page. I understand each form has a unique GUID, so how would I grab a specific form, then find out if a user has already filled it out?
I did see in the SDK there is a method under XFormData for HasAlreadyPosted. Just not sure how to use it for a specific form.
I think that if you do something like this: XForm form = XForm.CreateInstance(new Guid((String)CurrentPage["XFormPropertyName"))
you get the form and then you can check all the posts.
Thank you, that worked. I just had to create a property on my other page and then pull from that property like you have in your example. Works great!