I'm building a system that shows a list's NewForm.aspx to an anonymous website visitor, which they can complete and submit. The URL to the form includes "?source=/_layouts/blah.aspx", so after the list has been updated with a new item, this blah.aspx page is called and can do other operations.
My question is, on blah.aspx, how can I get the values of the fields submitted as part of the form?
e.g.
- My list "QMKevin-List" has 3 fields: Title (text(, Email (text), OptOut (checkbox)
- NewForm.aspx shows these 3 fields, which I fill in and then I submit the form
- QMKevin-List is updated with a new list item
- /_layouts/blah.aspx is called, and let's say I want to send an email to whoever filled out the form
from blah.aspx, how can I get the email address of whoever completed the form? remember, this form is shown to anonymous visitors to my site, so they are not logged in (no SPContext.Current.User...)
Also, if blah.aspx wanted to update the list item, is there any way to get the item.id of the newly created item, so that I know exactly which item to update? this is in case someone complete the form twice with the same info.. I need that unique identifier so I know which item to update.
