close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Having a great bad time with Dependent drop down

Thread began 4/13/2020 8:40 am by Rokon | Last modified 4/20/2020 11:09 am by Rokon | 190 views | 9 replies


Originally Said By: Ray Borduin
  You can add hidden form elements to the page with the parent dropdown and they will be passed with the parent dropdown form when it submits to the child dropdown plugin page.

GET and POST work the same way, so you could use either.  

Dear Ray

I was thinking like that but can't figure out to pick the value of the field from child page as in my parent page inside the div it shows like
<?php echo((isset($WA_section_1586802530391))?$WA_section_1586802530391->Body:"") ?>

but on the child page the actual value which i need to pick is <?php echo($bookSection->getColumnVal("SectionID")); ?>

Pls guide me here.

Here is the code of my parent page

<div class="row">
<form action="index.php" method="post" id="jumpbooks" title="For book change" accept-charset="UTF-8">
<div id="book" class="col-sm">
<select name="book" class="custom-select" id="book" onChange="framework_load_plugin_url('section.php',document.getElementById('jumpbooks'),'section','../../','');return document.MM_returnValue">
while(!$hadithBookList->atEnd()) { //dyn select
<option value="<?php echo($hadithBookList->getColumnVal("BookID")); ?>"<?php if (!(strcmp($hadithBookList->getColumnVal("BookID"), ($mainHadith->getColumnVal("BookID"))))) {echo "selected=\"selected\"";} ?>><?php echo($hadithBookList->getColumnVal("BookNameBD")); ?></option>
} //dyn select
<input type="submit">
<div class="col-sm" id="section"><?php echo((isset($WA_section_1586802530391))?$WA_section_1586802530391->Body:"") ?>

I think in order to send query by GET method I have to use another form to pick the value and then pass to URL as in this present form if i select GET method the drop down does not work,

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





Ease of use


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