Request.Form data order

Results 1 to 2 of 2

Thread: Request.Form data order

  1. #1
    Joe Huber Guest

    Default Request.Form data order

    I am trying to process a posted form with ASP using<BR> For Each myElement in Request.Form<BR> str1 = str1 & myElement & vbCrLf<BR> Next<BR> &#039 mail str1 using CDO to form analysis team...<BR><BR>The problem is that the form elements appear to be returned in random order using this approach, which makes it very difficult for the person who is analyzing the form data.<BR><BR>The unparsed data obtained using a Request.Form call has the data in the order in which it appears on the form.<BR><BR>Is there a way to get the parsed data returned in the order in which it appears on the form?<BR><BR>Thanks<BR><BR><BR >

  2. #2
    Keith Fowler Guest

    Default RE: Request.Form data order

    The only way I can think of is to peruse through each element by calling it specifically.<BR><BR>str1 = str1 & Request.Form("element name") & vbCrlf<BR><BR>I can&#039t understand why your original code will not go through them in order. It&#039s new to me. Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts