Set default value for list item field using Query String


  • Hi, i have an SPList with the following fields

    1. UserName

    2. UserID

    This is the url for adding new item to the SPList

    http://<siteURL>/Lists/Test List/NewForm.aspx?RootFolder=


    I need to pass the UserID through query string like "http://<siteURL>/Lists/Test List/NewForm.aspx?RootFolder=&UserID=123"

    So in the adding new item form for the UserID field the 123 should be bind automatically. Is there any way in sharepoint itself without writing any code. Or using code any way?

    Thanks, Saravanan PRS

    Saturday, April 28, 2012 12:09 PM