close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

three dynamic list set db value in update page

Thread began 10/17/2011 1:44 am by info316330 | Last modified 11/04/2011 10:50 am by kdavid379212 | 3202 views | 6 replies |

info316330

three dynamic list set db value in update page

I have an update page with three dynamic list and work fine, but I need set the database stored value for each select:
idsezione: ok

Line 502
idcategorie not work
idsottocategorie not work

there is a way to do this keeping dynamic lists utility?

Sign in to reply to this post

Jason ByrnesWebAssist

for each of the child lists, you need to add a Set Selected In List and Populate List from array behavior to the onLoad event of the body tag.


the body tag onLoad event should have these dynamic Dropdowns behaviors applied in this order:

Set Selected in List - Set the selected item for the main parent list
Populate List From Array - Populate the first child list from the array
Set Selected in List - Set the Selected item in the first child list
Populate List From Array - Populate the second child list
Set Selected ion list - Set the selected item in the second child list

Sign in to reply to this post

info316330

Hi Jason, I followed your instructions but something wrong because it does not work!Can you help me? I att. the new file. Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

with your page open in the browser, go to View -> Source Code.


copy this source code into a new text document and send a copy of that in our reply

Sign in to reply to this post

info316330

Att. code view

Sign in to reply to this post

Jason ByrnesWebAssist

perhaps i am missing something. When I open your page in the browser, it looks to me as though the correct items are initially selected.


that part seams to be working.

the only part i dont see working is changing the select lists.

for this you need to add the populate list from array behaviors to the onchange event of the parent select list and the first child select list.


if you are still having a problem, please give more information than "it does not work" you need to describe what is happening on your page and what you expect to be happening.

Sign in to reply to this post

kdavid379212

Exactly the solution I was looking for. Thanks!!!

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