SPCascadeDropdowns not working in DFWP?

Mar 26, 2014 at 10:17 AM
Edited Mar 26, 2014 at 1:18 PM
Hi,

I successfully used SPCascadeDropdowns in a SEWP on a newForm.aspx page.
Now I got a new request where I have to customize the newForm.aspx. For this I edited it in SharePoint Designer. Created a new newForm which generated a Data From Web Part. I implemented the same Script Editor Web Part with the same code. However the same SPCascadeDropdowns script won't work at all.

Could somebody help me what should I change to SPCascadeDropdowns work with DFWP?

Here is my script which works well with default newForm.aspx:
<script type="text/javascript" language="javascript" src="https://my.sharepoint.com/sites/development/Style%20Library/JQuery/jquery-1.11.0.min.js"></script>
<script type="text/javascript" language="javascript" src="https://my.sharepoint.com/sites/development/Style%20Library/JQuery/jquery.SPServices-2014.01.min.js"></script>
<script type="text/javascript" language="javascript" src="https://my.sharepoint.com/sites/development/Style%20Library/JQuery/jquery-ui.js"></script>

<script type="text/javascript">
$(document).ready(function() {
$().SPServices.SPCascadeDropdowns({
        listName: $().SPServices.SPListNameFromUrl(), 
        relationshipList: "Projects",
        relationshipListParentColumn: "ProjectType",
        relationshipListChildColumn: "Title",
                CAMLQuery: "<Eq><FieldRef Name='Active'/><Value Type='Integer'>1</Value></Eq>", 
        parentColumn: "Project Type",
        childColumn: "Project"
    });
$().SPServices.SPCascadeDropdowns({
        listName: $().SPServices.SPListNameFromUrl(), 
        relationshipList: "ProjectTasks",
        relationshipListParentColumn: "Project",
        relationshipListChildColumn: "Title",
        parentColumn: "Project",
        childColumn: "ProjectTask"
    });
});
</script>
Anyway the debug: true option do nothing when I write a wrong relationshipListChildColumn name for example.
And this is SharePoint Online environment.

Thanks you very much!

Edit:
I found a similar topic. I think I have the same issue. But I'm new to DVWP and not sure how can I correcting the markup for my DFWP. Any help would be appricated!
Thanks!