I am using sharepoint lists New Form I have Added

       <script type="text/javascript" >

        relationshipList: "Designation", //ChildList Name<br/>

        relationshipListParentColumn: "Department1", //Parent Name in ChildList<br/>

        relationshipListChildColumn: "Designation",  //Child Name in ChildList<br/>
        parentColumn: "Departments", //MainList Parent column Name<br/>
        childColumn: "Designation", ////MainList Child column Name<br/>
        debug: true <br/>

I have No Error but Cascaded is Not Working.

Thanks in Advance.

  • I was missing $(document).ready(function(){ }); Feb 15, 2017 at 8:23

1 Answer 1


You can try below code for cascading drop down.. below code also does not require SP Services reference, it is based on rest api...

<script src="//code.jquery.com/jquery-1.10.1.min.js"></script>
<script type="text/javascript">

$(document).ready(function() {
        parentFormField: "State", //Display name on form of field from parent list
        childList: "Cities", //List name of child list
        childLookupField: "Title", //Internal field name in Child List used in lookup
        childFormField: "City", //Display name on form of the child field
        parentFieldInChildList: "State" //Internal field name in Child List of the parent field


function HillbillyCascade(params)

    var parent = $("select[Title='"+params.parentFormField+"'], select[Title='"+
        params.parentFormField+" Required Field']");


    var currentParent = $(parent).val();
    if (currentParent != 0)        


function DoHillbillyCascade(parentID,params)

    var child = $("select[Title='"+params.childFormField+"'], select[Title='"+
        params.childFormField+" Required Field']," +
       "select[Title='"+params.childFormField+" possible values']");


    var options = "";

    var call = $.ajax({
        url: _spPageContextInfo.webAbsoluteUrl + "/_api/Web/Lists/GetByTitle('"+params.childList+
            "/Id eq "+ parentID,
        type: "GET",
        dataType: "json",
        headers: {
            Accept: "application/json;odata=verbose"

    call.done(function (data,textStatus, jqXHR){

        for (index in data.d.results)
            options += "<option value='"+ data.d.results[index].Id +"'>"+

    call.fail(function (jqXHR,textStatus,errorThrown){
        alert("Error retrieving information from list: " + params.childList + jqXHR.responseText);


Source : Cascading Drop Down Lists in SharePoint / Office 365 using REST

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.