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

rating

after dd's are selected,create a results page

Thread began 11/30/2009 5:11 pm by edrosenthal350859 | Last modified 12/01/2009 1:50 pm by Eric Mittman | 1064 views | 1 replies |

edrosenthal350859

after dd's are selected,create a results page

Hi - i am able to get good results from the dynamic drop downs, having captured in three lists the state & county & city the user has selected. Those lists were created with the create dynamic array and populate list frunctions in the dd. It was easy once the db was set up properly.

the next step in my project is to go into the database and bring back results using those field values as parameters for the next query into the database, and shift the location of the user to the new page displaying the new resulting data.

There appears to be a data assist tutorial showing a results page, where that page reflects parameters pulled from a source page and i think that would be the next logical thing - to try to simulate that tutorial. Or Is there another idea i should try first?
also, where in the code will i find the selected value - in the javascript area...in the bottom leave array???

Sign in to reply to this post

Eric Mittman

Following the tutorial to create a search and result set is probably the best way to get going on this. The form that you have with the dropdowns is no different than a form where the user would enter those values, it will post whatever you have as the value from these lists. If the value from the list is not what you would like and you need the label instead you would have to incorporate some additional js to set the selected text to another hidden form element. You can then use this other hidden form element in the search server behavior.

I'm including an example of some js code that will set the value of a hidden form element to the selected text from the list.

Attached Files
set the label of a select list to the value of another element.zip
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...