View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

using DD with preselected values

Thread began 10/04/2009 1:20 pm by barbara224891 | Last modified 10/15/2009 2:29 pm by barbara224891 | 2524 views | 8 replies

barbara224891

OK, in order to do that, I had to detach the page from the template. What's a better way to do that? I tried adding an editable region inside the body tag, but DW wouldn't allow that. I tried adding an editable region which contained the body tag, but then DW became unable to display anything in the body of the document.

Anyway, I did detach it from the template and add the onload event to the body tag for selecting the first dropdown and that works. Now I need to get the child dropdown to show as selected. The child dropdown works if the user selects the organization, but if the organization is selected by the onload event, the child dropdown shows as unpopulated and it's not only not selected, it's not selectable.

I tried adding a second onload behavior to populate the child list, but it doesn't do anything, presumably because there's no array selected.

Here's the latest version of my body tag:
<body <? if (isset($_GET['ID'])) { ?> onload="WA_setSelectionsInChildList(MM_findObj('orgID'),<?php echo $row_project['agency']; ?>)" <? } ?> <? if (isset($_GET['ID'])) { ?>onload="WA_FilterAndPopulateSubList(contacts_WAJA,MM_findObj('orgID'),MM_findObj('contact'),1,0,false,': ')" onload="WA_setSelectionsInChildList(MM_findObj('contact'),<?php echo $row_project['contact']; ?>)" <? } ?> >

Perhaps if I tweaked the code on the FilterandPopulateSubList parameters it would work, but since I'm not sure what those parameters refer to, I haven't ventured there.

Thanks, barbara

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