Jump to content

Category-listing by choice


This topic is 8428 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

When making a search-form, i am unable to allow the user to choose from a category by using a drop-down list, and then pressing submit (or whatever) to see all records in that category. How do i solve this?

Furthermore, i have a problem with controlling the size (max char) of such a dropdown list. When using the <select option...> i am unable to set the max length of the field.. ???-(

Hope you can help..

Link to comment
Share on other sites

quote:

Originally posted by Willem Schildkamp:

When making a search-form, i am unable to allow the user to choose from a category by using a drop-down list, and then pressing submit (or whatever) to see all records in that category. How do i solve this?

The following works in FMP 5:

<form blah blah blah...

<Select Name="NameofSearchField" size=1>

<Option value="*">All Categories</Option>

<Option value="1">Category 1</Option>

<Option value="2">Category 2</Option>

<Option value="3">Category 3</Option>

</Select>

<input type="submit" name="-find" value="Find Selected Category">

</form>

wink.gif" border="0

Link to comment
Share on other sites

This topic is 8428 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.