DMXzone Database Connector PHP Support Product Page

Answered

Dynamic dependent dropdowns

Asked 19 Nov 2015 12:56:06
3
have this question
19 Nov 2015 12:56:06 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 19 Nov 2015 13:06:34
19 Nov 2015 13:06:34 Teodor Kuduschiev replied:
Replied 20 Nov 2015 14:42:39
20 Nov 2015 14:42:39 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 20 Nov 2015 15:02:51
20 Nov 2015 15:02:51 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 23 Nov 2015 13:12:31
23 Nov 2015 13:12:31 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 10 Mar 2016 17:54:48
10 Mar 2016 17:54:48 Luis Pinto replied:
How make Dynamic dependent dropdowns with Server Connect?
Thanks
Luis Pinto
Replied 13 Apr 2016 22:16:07
13 Apr 2016 22:16:07 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 13 Apr 2016 22:41:51
13 Apr 2016 22:41:51 manuel pinto replied:
Keep trying and now i got it working!

Reply to this topic