Menu
Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
HTML
Set Value of Form Objects Without Submitting?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Paul Dempsey, post: 692388"] You can use JavaScript to set values in a second select element based on a change in the first select element. You can't do this with a query to the server without leaving the page you are on (that is, submitting the form). There are some options to do this. You can use ColdFusion on the form to populate JavaScript arrays, so the onChange will work as you specified. This could be a problem if the number of possible select items is very large. Another option is to do a multi-part form. Based on selections made in part 1, certain options are made available in part 2. You can pass form data along from one part to another with hidden fields, or you can update the database as you go along. Paul Dempsey Dickinson College [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
HTML
Set Value of Form Objects Without Submitting?
Top