DMXzone App Connect Support Product Page

Answered

combine Dynamic Dependent Drop-downs Part and Inserting Multiple Database Records

Asked 23 Sep 2017 10:47:25
1
has this question
23 Sep 2017 10:47:25 manuel pinto posted:
Wish to buid an insert form. The form must have 3 select Dynamic Dependent Drop-downs and also wish to build Inserting Multiple Database Records.
I just follow your tutorial but something is wrong ... the dinamic drop downs don't work. Is possible to build a tutorial with an example? I just spend a lot of hours trying to solve this with no success ... any help please.
Also ... i do not want to use bootstrap for this

Replies

Replied 23 Sep 2017 21:50:22
23 Sep 2017 21:50:22 manuel pinto replied:
Updated information: Got everything working on my form. The only problem is that when using multiinsert ... the form it's not inserting data ...
With a normal form and using bootstrap eveythings works fine (not test with dependent dropdown select fields)

... the issue here is when i try to use dependent drop down. I've being testing with a normal form (not using bootstrap) and with multi insert it's not working even with normal text fields ..
Replied 25 Sep 2017 06:42:03
25 Sep 2017 06:42:03 Teodor Kuduschiev replied:
Hello Manuel,
It is not really clear what are you doing exactly ... it does not matter if you are using dropdowns, dynamic dropdowns or dependent dropdowns. The multi insert tutorial explains who to do this, and it works with any field.
Please provide a link to your page, where we can check what is wrong.
Replied 25 Sep 2017 09:23:49
25 Sep 2017 09:23:49 manuel pinto replied:
Hi Teodor,

here's a link to a simple example:

www.alabe.pt/teste/pt/aroma/userarea/dropdown.php

Data is not inserted on database. What i'm doing wrong?

Replied 25 Sep 2017 09:53:22
25 Sep 2017 09:53:22 Teodor Kuduschiev replied:
Please enable the output option for the repeat and insert steps in your action file.
This reply was removed on 9/25/2017 9:53:26 AM.
See the changelog
Replied 25 Sep 2017 10:04:12
25 Sep 2017 10:04:12 manuel pinto replied:
Do it! Seems that it's not working ..
Replied 25 Sep 2017 10:08:50
25 Sep 2017 10:08:50 Teodor Kuduschiev replied:
Hm, looking at your code it does not seem you are following the tutorial - the code on your page does not look right: www.dmxzone.com/go/32972/inserting-multiple-database-records
Replied 25 Sep 2017 10:15:07
25 Sep 2017 10:15:07 manuel pinto replied:
Hi. I just follow the tutorial exacly .. can't understand what i'm doing wrong ... I just don't want to use bootstrap so i build my own form ... any hint on what i'm doing wrong?
Replied 25 Sep 2017 10:18:05
25 Sep 2017 10:18:05 Teodor Kuduschiev replied:
The form on your page was not built using the tutorial i sent in previous post - i see this in the code.
For now it is only possible to create multi insert/update forms with bootstrap 3 forms generator (as shown in the tutorial).
Replied 25 Sep 2017 10:20:01
25 Sep 2017 10:20:01 manuel pinto replied:
Hummm ok, now i understand ... can i expect an update for this soon without using bootstrap?
Replied 25 Sep 2017 10:21:35
25 Sep 2017 10:21:35 Teodor Kuduschiev replied:
All of our form/table/paging tools are based on Bootstrap. For now we are not planning to release non-bootstrap ones.
Replied 25 Sep 2017 10:22:47
25 Sep 2017 10:22:47 manuel pinto replied:
Replied 25 Sep 2017 10:58:31
25 Sep 2017 10:58:31 manuel pinto replied:
My problem with bootstrap is because CSS Bootstrap overrides my own CSS. Is there a simple way to solve this. I use a template for generating my pages ...
Replied 25 Sep 2017 11:01:28
25 Sep 2017 11:01:28 Teodor Kuduschiev replied:
Well, i don't know what your css is or what the css issues you have are, but indeed bootstrap 3 code should be used on pages based on bootstrap 3. Probably you can generate the form and then remove the bootstrap includes from the page and classes from the form/fields, then use the code generated in your site.
Replied 25 Sep 2017 11:10:45
25 Sep 2017 11:10:45 manuel pinto replied:
Thanks for the reply. Well, that is too much for me. Probably if you develop an extension that can be able to deal with this kind of issues maybe there's more people using bootstrap on their pages. That's only a sugestion ...

Reply to this topic