Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have created two list Productname and MedicalQueries. In MedicalQueries contains medical related information and productname contain different-different product, its contain according to product approval for productphysician(PP), pp is a lookup column in MedicalQueries List. When i create response for MedicalQueries List then productname display in texbox but productphysician of dropdown value is not populated always i have to select this value. But i want to populate dropdown value accroding to productname. So please help me.

Many thanks in advance..
Posted

If you mean the new item dialog when adding an item to the list then you will need to modify this page to get the behavior you are looking for. With a lookup column SharePoint has no way of knowing what should be the default unless you tell it.

Although this is for 2010 it should give you the idea for what needs to occur in 2007.
Custom SharePoint List Forms
[^]
 
Share this answer
 
v2
Your requirement is to have a Cascading drop down, Isn't it? unfortunately SharePoint doesn't suport that :-(.

But you can achieve using Jquery. Here is the post to help you.

http://salaudeen.blogspot.com/2011/01/cascading-drop-down-using-jquery.html
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900