Asp - refresh data without posting form
Posted on 2004-04-22
I have a form that updates a database. The form action is post to update the database. I have several dependent dropboxes for selection. When a new value is selected for the first dropbox, I want to change the values in the second dropbox. Then I want to continue processing the form from the next field - not the start of page. I have tried to do a submit to self onchange of a field but instead of starting the page with the new selection data, the form does the update of the database even though the form may not be completed yet. Is there a way to submit the form to itself to refresh the data and start the page processing from where they left off? If I put the focus on the next field in form, will the logic for the preceding fields still be executed?