Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 building cascading asp page based on valid user da
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Angela French
Starting Member

5 Posts

Posted - 22 March 2002 :  15:22:36  Show Profile
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!

em_
Starting Member

23 Posts

Posted - 22 March 2002 :  16:00:32  Show Profile
Since you're going to the database(and therefore the server) to validate anyway, why not have different forms to begin with?

You could make the sections that have already been filled in to text or you could use readonly fields and dispaly the sections one at a time while maintaining the user interface.





Edited by - em_ on 22 March 2002 16:03:03
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.3 seconds. Powered By: Snitz Forums 2000 Version 3.4.07