HTML5 Data Bindings Support Product Page

In progress

dependent-dropdown not working

Reported 17 Aug 2014 18:10:31
has this problem
17 Aug 2014 18:10:31 Andre Bender posted:
I've created a dependent dropdown as shown in one of your videos. The second select is not populating any values...

<!doctype html>
<meta charset="UTF-8">
<title>Unbenanntes Dokument</title>
<script type="text/javascript" src="ScriptLibrary/jquery-latest.pack.js"></script>
<script type="text/javascript" src="ScriptLibrary/dmxDataBindings.js"></script>
<script type="text/javascript" src="ScriptLibrary/dmxDataSet.js"></script>
<script type="text/javascript">
  /* dmxDataSet name "dsCustomer" */
         {"id": "dsCustomer", "url": "dmxDatabaseSources/dsnCustomers.php?limit=25", "dataSourceType": "database", "dataType": "jsonp"}
  /* END dmxDataSet name "dsCustomer" */

  /* dmxDataSet name "dsProjectsInWork" */
         {"id": "dsProjectsInWork", "url": "dmxDatabaseSources/dsnProjectsInWork.php?limit=25", "dataSourceType": "database", "dataType": "jsonp"}
  /* END dmxDataSet name "dsProjectsInWork" */
<script type="text/javascript" src="ScriptLibrary/dmxDataFilters.js"></script>

<form name="form1" method="post" action="">
    <select name="select" id="select" data-binding-repeat-children="{{}}" data-binding-id="select">
      <option value="{{CUSTOMID}}">{{Customer}}</option>
    <select name="select2" id="select2" data-binding-repeat-children="{{ &quot;CUSTOMID&quot;, &quot;==&quot;, &quot;$; )}}" data-binding-id="select2">
      <option value="{{PROJECTID}}">{{Project}}</option>


Replied 18 Aug 2014 16:19:02
18 Aug 2014 16:19:02 Andre Bender replied:
Any ideas? Is the generated code correct? Thanks for any help
Replied 19 Aug 2014 16:14:45
19 Aug 2014 16:14:45 Andre Bender replied:
It looks like it's working when I just filter the second recordset with the {{$}} from the first.

Using the formatter ( didn't work for me.
Replied 20 Aug 2014 06:42:39
20 Aug 2014 06:42:39 Teodor Kuduschiev replied:
Please provide a link to your site, where we can check what is being returned on your page.
Replied 20 Aug 2014 12:44:06
20 Aug 2014 12:44:06 Andre Bender replied:
I'll send you the links by email @ support.
Replied 20 Aug 2014 13:19:47
20 Aug 2014 13:19:47 Teodor Kuduschiev replied:
This will be improved in the upcoming update of the extension.

Reply to this topic