View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Values being Passed from submit button

Thread began 9/24/2009 11:28 pm by winship389784 | Last modified 9/30/2009 7:16 pm by winship389784 | 1720 views | 5 replies

winship389784

Values being Passed from submit button

I am using the dynamic dropdowns and it is doing exactly as I needed, but with one small issue. I have three boxes and have created id's in three different tables. The lists I have consist of: Region, Building, and Project.
The problem I am having is not when the boxes load, those are loading with the text values from the DB like it is supposed to. However, when I submit the page the id's are being passed instead of the list values. This is being passed into Crystal and it works when I select one field,but once I select more than one it tries to pass as a string.

Instead what I want is for it to pass the values. I can see in the array option [0] as the id and [1] as the value, but where do I specify in the code to pass [1] instead of [0], or the values instead of the id's? I followed the instructions to a tee and very easy, but cannot figure out which control changes this part.

Any help would be greatly appreciated. I have attached the could for you to look at.
Here is the web link with response.write in the setSelectionInformation () fiunction. When you select items it will give an error, but also display the values's for the objects you selected. I need this to be the text from the lists instead of the id's.

Just select Americas | 100 Summer Street | then the two Projects and hit run report.

Finance_Details.asp

Thank you in advance!

Attached Files
Finance_Details.zip

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