request.form collection

Results 1 to 2 of 2

Thread: request.form collection

  1. #1
    Join Date
    Dec 1969

    Default request.form collection

    Can anyone tell me why this won&#039;t work?<BR><BR>I want to set the value of all the form fields that were not filled in to n/a before inserting it into a db<BR><BR>FOR EACH item IN Request.form<BR> IF Request.form(item) ="" THEN<BR> Request.form(item)="n/a"<BR> END IF<BR>NEXT<BR><BR>Cheers

  2. #2
    Join Date
    Dec 1969

    Default RE: request.form collection

    Your problem is:<BR><BR>Request.form(item)="n/a"<BR><BR>You can&#039;t write to this collection.. use an array that mirrors the collection instead

Posting Permissions

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