Process blank fields in form

Results 1 to 2 of 2

Thread: Process blank fields in form

  1. #1
    Quigley2001 Guest

    Default Process blank fields in form

    Hi all,<BR><BR>I have an online form that I need to get the results of all fields, not just the ones filled in. The fields in particular are checkboxes that are checked(on) based on calls to the database. I need to get them when they are unchecked as well as checked.<BR><BR>Here&#039;s the snippet of the code I&#039;m using:<BR><BR>for each field in request.form<BR> response.write field&": "&request.form(field)<BR>next<BR><BR>Any ideas?<BR><BR>Q.<BR>

  2. #2
    Linda Pyrc Guest

    Default RE: Process blank fields in form

    do you have a value=&#039;ON&#039; specified in your checkboxes (or some other value) ? <BR><BR>If you do you can<BR><BR>CB1 = Request.Form("Checkbox1")<BR>if CB1 = "" or len(CB1)=0 then<BR> CB1 = "off"<BR>end if<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