close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Dynamic dropdown menu on an update page with Data Bridge 2.0

Thread began 9/08/2020 7:44 am by RMor41509037 | Last modified 9/09/2020 7:42 am by Ray Borduin | 438 views | 6 replies |

RMor41509037

Dynamic dropdown menu on an update page with Data Bridge 2.0

I have created a dynamic dropdown menu based on the tutorials: Dynamic Dropdown with Data Bridge 2.0 and it works seamlessly on the insert page I have created.
Just wondering how I might go about using it on an update page I can get it to show the Main Dropdown value but don't know how to have the child dropdown show the current value for that specific record. Are you able to provide some instructions?
Thank you!

Sign in to reply to this post

Ray BorduinWebAssist

You can use the update recordset to set some $_POST variables manually to the previous values before the child dropdown plugin loads. Then use those in the child plugin if they exist to filter and select the correct record.

Sign in to reply to this post
Did this help? Tips are appreciated...

RMor41509037

Hi Ray
Are you able to illustrate it somehow?
Thanks

Sign in to reply to this post

Ray BorduinWebAssist

If you send me a url to reproduce the issue and FTP access then I can add it so you can see.

Sign in to reply to this post
Did this help? Tips are appreciated...

RMor41509037

I have sent you url

Sign in to reply to this post

Ray BorduinWebAssist

I added this above the plugin on the edit page:


<?php
$_POST["distance"] = $Recordset6->getColumnVal("race");
$_POST["heats"] = $Recordset6->getColumnVal("shirtselect");
?>

That sets the form element values as if they were submitted before it loads so the plugin is filtered properly. Since I noticed the plugin was filtered by the value of: $_POST["distance"]

Then I added code to the plugin to select the correct option based on the value of $_POST["heats"];

Sign in to reply to this post
Did this help? Tips are appreciated...

RMor41509037

Thank you Ray! Works great!
Randy

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