DMXzone Database Connector PHP Support Product Page

Answered

Dynamic dependent dropdowns

9 years ago David Woolley posted:
Just been following your video at:
www.dmxzone.com/go/22282/multi-step-form-with-dependable-dynamic-dropdowns
that refers to another video:
"Dependable Drop Down Lists with HTML5 Data Bindings"

Please would you send me the link, as I can't find it on your site.

Replies

Replied 9 years ago
9 years ago Teodor Kuduschiev replied:
Replied 9 years ago
9 years ago David Woolley replied:
Thanks Teodor
Everything works for me, except for the filter on the parent ID.
Parent shows menu selection, but child menu is empty.
If I remove the filter, both menus are then populated.

I tried putting in a value for the filter (Entered Value for the parent ID) and it shows the relevant child menu for that parent ID value. So it's something to do with the Form Variable set to the Parent ID.

My database is using the InnoDB engine, with a relationship setup between parent & child using a primary & foreign key. Would a constraint here be causing this problem?

Site is in early development so I can't show you online.

Cheers
Dave
Replied 9 years ago
9 years ago Teodor Kuduschiev replied:
Hi David,
I need to check your page running on the server in order to be able to debug, what is causing the issue. Please upload the page temporarily to some testing server, where i can access it.
Replied 9 years ago
9 years ago David Woolley replied:
Hi Teodor - finally got it working!
I had not bound the Parent ID to the select.option.value
The Dependable Drop Down video only uses the Categories data element in the Categories data source, so in my system I was binding the Parent Name to both value & title. Following the video too closely!
Thanks
Dave

Replied 9 years ago
9 years ago Luis Pinto replied:
How make Dynamic dependent dropdowns with Server Connect?
Thanks
Luis Pinto
lfspinto@gmail.com
Replied 9 years ago
9 years ago manuel pinto replied:
I've been working on this but can get it working. Hope you can post a tutorial on How make Dynamic dependent dropdowns with Server Connect
Replied 9 years ago
9 years ago manuel pinto replied:
Keep trying and now i got it working!

Reply to this topic