Tuesday, May 08, 2012 8:40 AM
I have 2 sharepoint Lists. List A and List B
I am populating the Alphabet in List B to values A and B
When i choose A in alphabet, I need to get 1,2,3 in Numeric Automatically
When i choose B in alphabet, I need to get 4,5 in Numeric Automatically
Tuesday, May 08, 2012 9:14 AM
Take a look at the following link, I think it may get you what you require without writing code.
Tuesday, May 08, 2012 10:49 AM
According to your arequirements you are actually looking for cascaded look up column, to achive this functionality you may need to create one more list where you will keep original values,
Please follow below steps to create cascaded lookup column.
OR the other way to achieve this is open SharePoint designer and then open site where this list is located, open NewForm.aspx, check out the form and find the following line.
<asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server">
Add the above script exactly below this. Save it and check in. This will also do the job for you. Do the same for edit form as well?
Now let me explain each parameter in the script.
relationshipList – This is the name of the list where we have kept the relationship.
relationshipListParentColumn – This is the parent column in the relationship list.
relationshipListChildColumn – This is the child column in the relationship list.
parentColumn – parent column in the list where we want to implement this.
childColumn – child column in the list where we want to implement this.
Thanks.... ________________ Baba (MCTS, MCPD)
Wednesday, May 09, 2012 2:31 AMThanks Mr.Baba for your solution.....