SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to read the order # (which is alpha-numeric) from URL (Sharepoint document library) and automatically populate 2 drop down box only for newform

for example: url is documents/allitems.aspx

So the first drop down should be automatically populated with SP and team23 for 2nd drop down.

share|improve this question

You could do it by provisionning a custom NewForm.aspx and adding some Javascript that would parse the URL, and then populate the dropdown values.

share|improve this answer
hmm. Sound Good but do you have any link(s) or sample code. – Bob Dinero Dec 3 '10 at 21:12
I don't have specific code, right now, 'cause I never had to do it, but you could check on jQuery for the Javascript part, and check the following link to get to have a custom NewForm.aspx… – Sébastien Levert Dec 4 '10 at 18:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.