SharePoint - Populate Query String to Title Field of NEwform.aspx

Asked By jc dls on 17-Feb-12 01:30 AM

I have this URL http://servername/site/Lists/ListsName/NewForm.aspx?Title=Item Title

I need to populate the value of the Title in the URL which is "Item Title" in the Title textbox of NewForm.aspx

How can i achieve this. Im planning of using sharepoint designer and write a c# script in page load.

Somesh Yadav replied to jc dls on 17-Feb-12 01:35 AM
Hi,

Project Description
A JavaScript module, using jQuery, for manipulating SharePoint form fields from the URL.

SPFF

The SharePoint Form Field Assistant can be added to any new or edit form in SharePoint 2007. With SPFF loaded, you can manipulate form fields through query string parameters. Current manipulations supported: hide field, prepopulate field, prepopulate and lock field.

Getting Started

Add jQuery and spff scripts to a SharePoint page that also has one or more form controls. Add a document.ready instruction like the following:
$(function(){
	$.spff();
});

Form Manipulations

Hide

Append the field's name, equal sign, and an underscore. Setting a field's value then hiding it is not supported. To prevent manipulations of a prepopulated field, see SPFF Options: lock.
Example:
https://servername.com/site/Lists/Tasks/EditForm.aspx?ID=4&Assigned%20To=_



Other methods for invoking spff include restricting the page type it applies to:
$(function(){
	if(window.location.pathname.split('/').reverse()[0]=="NewForm.aspx"){
		$.spff();
	}
});


This script can be safely added to an entire site through the .master page. However, for individual form pages, use a Content Editor Web Part. To reach the Edit Page menus, append ?PageView=Shared&ToolPaneView=2 or &PageView=Shared&ToolPaneView=2 to the URL of the form page and navigate to the new URL. Add the CEWP with jQuery (if not already on the page) and the spff script.

To only load spff conditionally, based on user group, the MOSS version of the CEWP can make use of audience targeting. As a result, only the specified groups will process spff instructions in the URL.

For more information please refer to the below link.

http://spff.codeplex.com/
Hope it helps you.
jc dls replied to Somesh Yadav on 17-Feb-12 01:46 AM
is there a simple way to achieve this without using codeplex code