Angela French
Starting Member
5 Posts |
Posted - 22 March 2002 : 15:22:36
|
I am new at asp. I am trying to create an online form, that builds progressively as the user fills it in and validates some parts of it. My problem is I don't know how to "go validate" and come back into the page to "write" more of the page if the data was valid.
Could anyone please look at: http://www-app2.wa.gov/dshs/trial/ddd/casis.html ?
I have a demo set up as html and javascript that demonstrates the functionality of what I'm trying to accomplish (I'm building a separate asp page, this was just a demo).
Here's what needs to happen: The user enters a case # and hits the submit button. The submit button initiates the validation process (not sure how to do this without going to another page that runs the stored procedure) If the case # is valid, then another section of the form appears (use reponse.write?). Some of the fields in the form will be pre-populated and I will disable those fields so the user can't change them. The user will fill in some fields. Lastly, for that section, the user will enter the Provider # and the process will repeat on down the page.
At the very end the user will submit the entire form.
What I can't get past mentally, that if the case # and Provider # are validated using form submittal, and then the entire thing is a form , that this is nested forms!
Ugh. I feel so dumb on this. Believe me, when I finally get this my life will never be the same!
Thanks!
|
|