From https://spservices.codeplex.com/discussions/465575
Test lists in my environment: Section, SubSection, DocumentType.
-------------------
I've spent the better part of 2 day's trying to get the Cascading Drop downs to work. I was able to use the Country/Region/State example and implement and it worked perfectly. However, my lists would never work correctly. Here is an example of my data:
Section:
1. Pre-Award
2. Award
SubSection:
```
Market Research Document Pre-Award
Other Pre-Award
Source List Award
Solicitation Selection Award
```
```
DocumentType:
Notice to Proceed Market Research Document
Modification Market Research Document
Contract Audit Source List Document
Other Source List
```
Every time I would run the code my SubSection drop down would correctly based on the Section Selection. However, my document type would never work. No error was thrown or anything. So after 2 days, I figured out that if there are multiple spaces in the text, it would not work. I decided to put underscores "_" to see if that would work and surprisingly it did.
I'm not sure if this is a bug with the SPServices.CascadingDropdown or not, but wanted to pass along incase someone else was having the same issues as I was having.
Test lists in my environment: Section, SubSection, DocumentType.
-------------------
I've spent the better part of 2 day's trying to get the Cascading Drop downs to work. I was able to use the Country/Region/State example and implement and it worked perfectly. However, my lists would never work correctly. Here is an example of my data:
Section:
1. Pre-Award
2. Award
SubSection:
```
Market Research Document Pre-Award
Other Pre-Award
Source List Award
Solicitation Selection Award
```
```
DocumentType:
Notice to Proceed Market Research Document
Modification Market Research Document
Contract Audit Source List Document
Other Source List
```
Every time I would run the code my SubSection drop down would correctly based on the Section Selection. However, my document type would never work. No error was thrown or anything. So after 2 days, I figured out that if there are multiple spaces in the text, it would not work. I decided to put underscores "_" to see if that would work and surprisingly it did.
I'm not sure if this is a bug with the SPServices.CascadingDropdown or not, but wanted to pass along incase someone else was having the same issues as I was having.