MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

multiple fields search...



I can't figure out how to search multiple fields using a
form to let the user specify on what field(s) he wants
the search to take place. I can do it with static HTML code, 
but when I try to do the following:

<FORM name="srchForm" action="[process-search]" method=post> 
  <INPUT TYPE="hidden" NAME="mv_searchtype" VALUE="sql">
  <INPUT type="hidden" name="mv_searchspec" value="srchvalue">

  <INPUT type="checkbox" name="mv_search_field" value="field1"> field1 <BR>
  <INPUT type="checkbox" name="mv_search_field" value="field2"> field2 <BR>
  <INPUT type="checkbox" name="mv_search_field" value="field3"> field3 <BR>

  <INPUT type="submit" name="mv_doit" value="Search">
</FORM>     


I cannot find a way to have the number of checkbox the user checks match
the number of "mv_searchspec" automatically.

Can some one provide a solution for this, it has to be feasible!?

Thanks a lot for your time.

-- marc

Breathing may be hazardous to your health.


Search for: Match: Format: Sort by: