Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Query Customization of newform.aspx

  Asked By: Marla Nixon         Date: Jun 15, 2009      Category: Sharepoint      Views: 300
 

i want to customize my newform.aspx for adding new item in a
list, sothat it will take one field value from url.

e.g. my list has 2 items id and name

i wants that id value should comes from url , i want to fetch that
value from url.

can anyone suggest me how i can do this

Tagged:          

 

1 Answer Found

 
Answer #1       Answered By: Heena Nagori          Answered On: Jun 15, 2009       

Your best bet would be to add a littl javascript block to parse the value for
window.location.href and set the value of the id form field.

 
Didn't find what you were looking for? Find more on Query Customization of newform.aspx Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].