Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asptoday_discuss thread: ASP Validation


Message #1 by Zcoffeeman@a... on Sun, 28 Oct 2001 21:28:40 EST

I have a quite lengthy credit application that needs validation.  I isolate 

the invalid fields for reentry and save valid fields into a session variable. 

 However, I rely on the form array to assign session variables. The app has 

104 values which correspond to 104 form array variables and 104 Session 

variables, as well as another 104 Session variables used as metadata (i.e., 

Session(1) = "Bob", Session(1 + 104) = "Customer First Name".  The problem 

arises when the correction form is written.  The form array is completely off 

and the Session and form array values do not match up.  Is there a better way 

to match up form field values with Session variables, short of matching each 

Request.Form.Key with the form field names?



Thanks in advance,

Jason    




  Return to Index