This project has moved and is read-only. For the latest updates, please go here.

SPCascadeDropdowns and the Content Types

Sep 8, 2010 at 9:08 AM

When you use the content types of document libraries, it doesn´t work!
The ChildColumn always has the choice of "None", even if is a required column.
Does anyone know how to fix this or what I can do?


Sep 8, 2010 at 4:18 PM


SPCascadeDropdowns sohlud work with Content Types just fine. It may be that the column names are different in each Content Type. You should check that.


Sep 9, 2010 at 8:17 AM
Edited Sep 9, 2010 at 8:31 AM


I explained badly.
First of all, ParentColumn and ChildColumn are SiteColumns, so the columns can be used in other lists.
The dropdowlist gives me back the options correctly, the problem is that the first option is "Choose (0)", even if it is a required field.
Then I save and I get an unexpected error, because it is a required field and it hasn´t value.

Sep 9, 2010 at 12:25 PM

Can you paste the call you are making to SPCascadeDropdowns here?


Sep 9, 2010 at 5:42 PM

Of course, i can paste it here.

<script language="javascript" src="/funcionalidades/jquery-1.4.2.min.js" type="text/javascript"></script>
<script language="javascript" src="/funcionalidades/jquery.SPServices-0.5.6.min.js" type="text/javascript"></script>
<script type="text/javascript">
            relationshipWebURL: "/",
            relationshipList: "Subprocesos",
            relationshipListParentColumn: "Proceso",
            relationshipListChildColumn: "Title",
            parentColumn: "Proceso",
            childColumn: "Subproceso",
            debug: true

Sep 10, 2010 at 4:11 AM

I think setting the promptText option to an empty string ought to solve this.

   promptText: "Choose {0}...",  // [Optional] Text to use as prompt. If included, {0} will be replaced with the value of childColumn


Sep 10, 2010 at 8:54 AM

Good morning sympmarc.

It´s working perfectly.

Thank you very much.

Sep 10, 2010 at 12:31 PM