request.form to variable

Results 1 to 2 of 2

Thread: request.form to variable

  1. #1
    Join Date
    Dec 1969

    Default request.form to variable

    This should be simple....<BR><BR>I want to set a variable to the value of a form field. Here&#039;s the code:<BR><BR>&#060;%dim yval, value as integer <BR>value = Request.Form("poll_y").value %&#062;<BR><BR>When executed, the application returns the following exception:<BR>&#039;value&#039; is not a member of &#039;String&#039;.<BR><BR>Any help is most appreciated.

  2. #2
    Join Date
    Dec 1969
    Indianapolis, IN

    Default RE: request.form to variable

    You don&#039;t need the .value (that&#039;s not valid). Just do:<BR>value = Request.Form("poll_y")<BR>

Posting Permissions

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