Here's the method that I found works the easiest: http://bladah.com/?p=51 The solution will allow you to generate a unique ID when the form is submitted to the library. It will also give you the capability to edit the form and re-submit without creating a new item every time it is re-submitted.