Hammerton Posted January 16, 2002 Posted January 16, 2002 Still have not figured out how to include a search field that uses a pull down menu in such a way that if the default selection is left in place, the search will not be affected by entries in that field. Can anyone tell me how to set the default to a wildcard? or some other solution? Thanks.
Garry Claridge Posted January 17, 2002 Posted January 17, 2002 If the value is "" for the field the search should ignore the field. Here is an example from a search page we use: <select name="gender" size="1"> <option value="" selected>Both <option value="m">Male <option value="f">Female <option value="">======== </select> Hope this helps. Garry
Hammerton Posted January 19, 2002 Author Posted January 19, 2002 Thanks Garry. That did the trick. Turns out the problem was with a text field variable that set last name to nothing, which of course yielded few results.
Recommended Posts
This topic is 8413 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now