Form dropdown box problem

Results 1 to 2 of 2

Thread: Form dropdown box problem

  1. #1
    Avril Guest

    Default Form dropdown box problem

    I have a form with a number of different form elements on it incl radio buttons, dropdowns etc. When I hit the submit button a default value(the first value) gets posted fron the dropdown menu even if it has not been checked by the user. I need to be able to tell which elements have been clicked by the user so that the appropriate SQL statement is executed but I cannot tell if a dropdown has been selected or not because a value is being submitted either way. Any help wpuld be greatly appreciated.

  2. #2
    Join Date
    Dec 1969

    Default RE: Form dropdown box problem

    why not just create an If then statement after requesting the variables and before writing the SQL statement? <BR><BR>E.g. IF var[checkedbox is not check] THEN<BR>var[requested pulldown] = var[dead variable]<BR>ELSE<BR>END IF

Posting Permissions

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