$().SPServices.SPCascadeDropdowns({

May 20, 2014 at 6:58 PM
God I don't know why I can't get this working!!!!

I've done this very same thing with a City,State,Country example no problems.

I keep getting errors that the relationshipListParentColumn and childcolumn are not found.

The only difference between the example and this one is the usage of Content Types.

I use content types in the relationshiplists.

Does that not work????
Coordinator
May 20, 2014 at 9:23 PM
Make sure you're using the InternalName for the columns in the relationshipList and not the DisplayNames.

M.
May 22, 2014 at 1:27 PM
I'm still having a hell of a time figuring this out. It's crazy, I think I've gone over every permutation I can.

I guess details may help further.

The Internal name comes from the URL right?
$(document).ready(function() {

  $().SPServices.SPCascadeDropdowns({
  relationshipList: "Customer%20Fabs",
  relationshipListParentColumn: "Customer%5Fx0020%5FName",
  relationshipListChildColumn: "Title",
  parentColumn: "Customer",
  childColumn: "Customer%5Fx0020%5FFab",
  debug: true
 });
});
I know parts of it are working.

If I take out the %20 from "Customer Fabs" the error shows that it can't find the columns. That makes sense so I think %20 needs to be there.

If I take out the %5Fx0020%5F from "Customer Name" the nothing works, no error.

In the form I am creating when I have it as above it appears the customer list is fine and the child column is shortened to nothing. So I feel like it's working but isn't finding the relationship.

All of this is built with site columns and content types. Is that where my problem is?
May 22, 2014 at 1:31 PM
This fails as well.
$(document).ready(function() {

  $().SPServices.SPCascadeDropdowns({
  relationshipList: "Customer%20Fabs",
  relationshipListParentColumn: "Customer_x0020_Name",
  relationshipListChildColumn: "Title",
  parentColumn: "Customer",
  childColumn: "Customer_x0020_Fab",
  debug: true
 });
});

May 22, 2014 at 1:58 PM
This made the Customer DDL change. You can tell by the way the DDL Arrow looks.
$(document).ready(function() {

  $().SPServices.SPCascadeDropdowns({
  relationshipList: "Customer%20Fabs",
  relationshipListParentColumn: "Customer_x0020_Name",
  relationshipListChildColumn: "Title",
  parentColumn: "Customer",
  childColumn: "Customer Fab",
  debug: true
 });
});

The Customer Fab still doesn't work.
Coordinator
May 22, 2014 at 2:09 PM
I think it should be this:
$(document).ready(function() {

  $().SPServices.SPCascadeDropdowns({
  relationshipList: "Customer Fabs",
  relationshipListParentColumn: "Customer_x0020_Name",
  relationshipListChildColumn: "Title",
  parentColumn: "Customer",
  childColumn: "Customer Fab",
  debug: true
 });
});
M.
Marked as answer by ComputerHabit on 5/22/2014 at 7:19 AM
May 22, 2014 at 2:11 PM
I'm not religious but.

Bless you!

:)

Geeze I could have sworn I tried that. Maybe I didn't hit F5 before a test.

Thank you so much.
Coordinator
May 22, 2014 at 2:18 PM
You're welcome!

M.
May 22, 2014 at 2:19 PM
Hmm...

Now cancel button doesn't work. :(
Coordinator
May 22, 2014 at 2:24 PM
The SPCascadeDropdowns call shouldn't affect the Cancel button. Are you doing other things?

M.
May 22, 2014 at 3:30 PM
unfortunately no.

I'll try rebuilding the page.

no clue ugh
May 22, 2014 at 3:34 PM
I had taken the list out of "Dialoge" mode. Once I put it back things were working.

Thanks again.

I'm sure I'll be back. I'm suck a noob.
Coordinator
May 22, 2014 at 3:43 PM
If you want to turn off the form dialogs, you should be able to. The script will run the same regardless, assuming you've put it into the form page either via CEWP or by editing the page directly to add it.

M.