close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

using DD with preselected values

Thread began 10/04/2009 10:20 am by barbara224891 | Last modified 10/15/2009 11:29 am by barbara224891 | 5938 views | 8 replies

barbara224891

That was a good catch. I have fixed the space typos and added some line breaks to make the html lines shorter so they don't get recreated spontaneously, which is how they got there in the first place.

I'm still having 2 problems with this page:
1. If there is a project passed in the URL, the parent field selects properly, but the child dropdown does not populate. If there is no ID passed in the URL, or if the user selects an agency, the child dropdown will populate.

2. When the child dropdown populates, it's not actually possible to select any of the choices. Reviewing the page's source code shows the child dropdown as empty.

I've tinkered a lot, trying different things, so I'm including the body tag here again as it currently stands:

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

In trying to understand what's going on, I also made a much simpler page with the essential features I'm working on here. It's at scratch.php?ID=81

With the simpler version, problem 1 still exists, but problem 2 does not. I haven't been able to understand why it allows selection of the child while the real page doesn't.

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