This topic is locked

Creating Drop Down's

3/5/2007 2:58:45 PM
ASPRunnerPro General questions
S
stealthwifi author

Hello,
I am very new to ASPRunner and also to ASP programing. I have created a basic data entry site and need to add some preexisting code i wrote a while ago, i am not sure where i can add my code. It is in HTML and creates 5 drop down boxes where the selection of the first drop down box changes the list of what will be displayed in the other 5 separate boxes. It is imperative that i have this data added into the database after the user hits the save button on the form. The first part of the code is a javascript script and the rest is just the HTML for the drop downs with the default values. I have added the code into the Visual Interface of AspRunner and the drop down work fine except the data is not sent to the database on update. Any help is much appreciated. If you need me to post the code for the dynamic drop downs that is ok but it's very large due to the number of selections.
Thank You in advance!
Sincerely,

Stealth

Sergey Kornilov admin 3/5/2007

Stealth,
I would recommend to use dependent dropdown boxes functionality that ASPRunnerPro provides.
If this doesn't work for you make sure manually added dropdown boxes have correct names and IDs:

"value_Field1", "value_Field2" etc.

S
stealthwifi author 3/6/2007

Stealth,

I would recommend to use dependent dropdown boxes functionality that ASPRunnerPro provides.
If this doesn't work for you make sure manually added dropdown boxes have correct names and IDs:

"value_Field1", "value_Field2" etc.


Exellent thank you very much, before when i was trying to get it working i used $value_field as i thought that was the proper syntax, i will try this and let you know if it worked. I love the build in dependant drop down function but it is not robust enough for what i need. I do not know if it would be needed but i would love to donate my code if you wanted to add a new feature for the dependant drop downs.
Thanks again <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=16045&image=1&table=forumreplies' class='bbc_emoticon' alt=':D' />

Stealth-

S
stealthwifi author 3/6/2007

That seems to have fiexed the problum, i jsut added my own code with select statements and used the "Value_line" syntax. This also seems to have fixed a problum I was having with the edit feature for this page. Thanks again for your prompt reply <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=16046&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />
Sincerly,

Stealth-