Jun 15, 2012 at 4:26 AM
Edited Jun 15, 2012 at 4:40 AM
I am getting something really fundamental wrong in implementating a very basic cascading dropdown list. The code is appearing in the implmented page when I view source, but it seems to be completely ignored, even when I try to generate a debug error
by feeding it incorrect field names!
I created a copy of the Newform page which contains all the fields from this particular list, created in the sharepoint 2007 interface, and edited it in sharepoint designer.
I went down to the line:...
<asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server">
...and directly underneath that line I put the following:
// Set up the cascade from Customer to Phone Number
relationshipList: "NSW Customer Accounts ",
relationshipListChildColumn: "Phone Number",
childColumn: "Phone Number"
I know the libraries exist because I have tested them using ctrl+click in sharepoint designer.
I expected the Phone Number field in this list to become a dropdown or there to be some sort of error or at least bad result, but instead it does EXACTLY the same thing as the native NEWFORM.ASPX. As per initial paragraph, if I do a view source
on the page I can see all the code listed there.
The parent list has been created, and to simplify things, I have used the same names in both the parent list and this list for easy matching.
As per subject... newbie, please be gentle! Very keen to get this working as I am eying off some other very cool functions in this libary :)