close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Cannot figure parent and child columns

Thread began 8/01/2014 3:22 pm by russell298997 | Last modified 8/01/2014 3:32 pm by Jason Byrnes | 799 views | 1 replies |


Cannot figure parent and child columns

Just bought Data Bridge, stumped by Dynamic Dropdowns.
I am trying to sort parent and child through one table, a list of soccer teams and their divisions) (table attached as screengrab).

I have sorted the recordset PARENT to list Divisions (field = TeamDiv) using

FROM teams

and this brings me up a list of the six divisions

Therafter I am stumped as to how I bring up a child list of all the teams in that division.

I followed the tutorial as best I could and have a form on the page with PARENT and CHILD lists in a form.

Can you tell me

a/ what selections I should make to create the Dynamic Array
b/ what I should select from the options on the Populate From Array behaviour

(when I have tried various times the latter keeps saying that the form is "undefined" which seems wrong so I am assuming I have gone wrong before this point.....

Have attached the page if that helps....

basically I want the parent field to show the six divisions and, when one is clicked it shows the list of teams (field = TeamName) that correspond to that division....?

Thanks, as always, for your help guys

Sign in to reply to this post

Jason ByrnesWebAssist

in the parent list, you are using the league name column, but you mention the TeamDiv?
<option value="<?php echo $row_Parent['league_name']?>"><?php echo $row_Parent['league_name']?></option>

also the Parent recordset looks nothing like what you say in your message

anyway, you have the child recordset. In the create dynamic array behavior, set the parent ID to league_name (or use TeamDiv, but only if that is the column being used as the value for the parent list, as it stands right now, you are using league_name as the value for the parent list, so in the create dynamic array, it should be used as the parant ID column)

for the child ID and child name, use the team name column

in the populate list from array behavior, set the parent list to parent list and the child list to the child list.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...