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

Data Bridge update page dynamic select issue

Thread began 8/08/2012 8:55 pm by david390068 | Last modified 8/09/2012 10:25 am by david390068 | 270 views | 1 replies

david390068Beta Tester

Data Bridge update page dynamic select issue

Environment: Windows 7
Dreamweaver CS6
DataBridge 1.0.7

Issue: Insert page has a few dynamic select boxes, which work just fine. The update page in DataBridge shows the dynamic select boxes just as it did for the Insert page. However when I click on a record on results page, it takes me to the update page and all other fields are showing the correct information based on what was in the record, but the dynamic select boxes are not setting the selected value to what is in the record. I verified via the results and detail page that the data is there. Any idea as to the issue?

I have attempted resolution by:
Deleting winfile
Uninstalling and reinstalling DataBridge

Example dynamic select box created on Update page

<select class="formMenufield_Medium" name="dealtype" id="dealtype" tabindex="2" onChange="hideServerError('dealtype_ServerError');">
<option value=""> </option>
<?php
do {
?>
<option value="<?php echo $row_WADAMenudealtype['dtypename']?>"<?php if (!(strcmp($row_WADAMenudealtype['dtypename'], (isset($_GET["invalid"])?ValidatedField("index","dealtype"):"".$row_WADADeal["dealtype"]."")))) {"selected=\"selected\"";} ?>><?php echo $row_WADAMenudealtype['dtypename']?></option>
<?php
} while ($row_WADAMenudealtype = mysql_fetch_assoc($WADAMenudealtype));
$rows = mysql_num_rows($WADAMenudealtype);
if($rows > 0) {
mysql_data_seek($WADAMenudealtype, 0);
$row_WADAMenudealtype = mysql_fetch_assoc($WADAMenudealtype);
}
?>
</select>

Known solution (however not preferred)
Open Dynamic List Menu in Dreamweaver and change the Select value equal to box to <?php echo $row_WADAMenudealtype['dtypename']; ?>

I would really rather not have to do this on every update page I create with dynamic select menus (quite a few of them). I am starting a rather large intranet project where I will be utilizing DataBridge (DataAssist) a lot.

Any help would be appreciated.

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