close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Databridge Dynamic Dropdowns not inserting value

Thread began 5/07/2013 5:17 am by Rune Brynestad | Last modified 5/08/2013 3:35 am by Rune Brynestad | 818 views | 6 replies |

Rune Brynestad

Databridge Dynamic Dropdowns not inserting value

The child dropdown is not submitting its value into the database

I have attached the record insert page

Any thoughts please?

Thanks in advice

Regards
Rune

Attached Files
produkter_insert.php
Sign in to reply to this post

Jason ByrnesWebAssist

i dont see an obvious problem in the code. I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

Rune Brynestad

See the private message section

Sign in to reply to this post

Jason ByrnesWebAssist

at line 317, it sets the CHILD ID column, it was using a column name that does not exist in the undergrupper table:

echo "WAJA[".$n."][".$m."][0] = "."'".WA_DD_Replace($row_WADAMenuUnderkategori["id"])."'".";\n";

I changed that to:
echo "WAJA[".$n."][".$m."][0] = "."'".WA_DD_Replace($row_WADAMenuUnderkategori["Gruppeid"])."'".";\n";

to correct the problem.

Sign in to reply to this post

Rune Brynestad

Perfect! Thanks!

Could you please have a look at my update page too ? The target list is not populated on page load.

I have applyed the Dynamic Drop Down Populate List from array and Set Selected in List behaviors to the onLoad event of the body tag. But I have also applyed a framework builder theme to the page, so it have been destroyed.

I'm attaching my update page.

Thanks in advice.

Regards
Rune

Attached Files
produkter_update.php
Sign in to reply to this post

Jason ByrnesWebAssist

since your using a template, you cant add script behaviors to the body onload event.

add the behaivors for set selected and populate form an array to the onblur event of a div or the form tag, then copy the code to a script tag near the bottom of the page so it will be executed after the page loads.

Sign in to reply to this post

Rune Brynestad

Perfect!

Thanks again.

Regards
Rune

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

Content

rating

Layout

rating

Ease of use

rating

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...