How to read a key name

Results 1 to 2 of 2

Thread: How to read a key name

  1. #1
    Hanan Cohen Guest

    Default How to read a key name

    When getting the datat fro a form I know I can do two things:<BR>1. Get the data if I know the name of the key<BR>2. Get the data from ALL the keys.<BR><BR>What I wnat is to determain my actions depending of the name of the key.<BR><BR>For example:<BR><BR>key_name = request.form(***)<BR>select case key_name<BR>case 1<BR>bla bla<BR>case 2 <BR>bla bla<BR><BR>What should I put instead of *** ?<BR><BR>Thanks<BR><BR><BR><BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: How to read a key name

    Dim myFormElement<BR>For Each myFormElement in Request.From<BR>Response.Write "FORM ELEMENT NAME = " & myFormElement<BR>Next<BR><BR>See for a good, practical example of using the form element collection like so.

Posting Permissions

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