× If you expect answers you should describe your problem and give as much information's as possible. (SQL-Structure, Template Code, Joomla Version ...) Please read this before posting: joodb.feenders.de/support.html

Frond-end search results based on field selection only

More
4 years 8 months ago #5085 by Ali
Good Morning;

Is it possible to create JooDatabase search criteria based on field selection?

For example:
(A) On the Back-end:

Field 1: Product Name
Field 2: Product Code
Field 3: Product Details
Field 4: Manufacturer Name
Field 5: Importer Co. Name

(B) On the Front-end:
- Only a search text box + a dropdown selection (or checkboxes )
- In the dropdown selection, there are all 5 fields that a visitor can choose from.
- If chosen (Product Code) from the dropdown selection (or a checkbox), then search results should be only based on the (Product Code) field ... and so on.

Is that possible with JooDatabase?

Please, you may treat this as urgent.
Many thanks for you help and support.

Best Regards
Raffet Ali

Please Log in to join the conversation.

More
4 years 8 months ago #5086 by Dirk
You can use searchfield
{joodb searchbox|[FIELDLIST]}

If you add a comma separated list of fields you can search separately in different fields.

With the pro version you make more complex searchforms by using the
searchfield command.
See..
joodb.feenders.de/support/documentation.html?search=searchfield
The following user(s) said Thank You: Ali

Please Log in to join the conversation.

More
4 years 8 months ago #5087 by Ali
Thanks Dirk.

Please Log in to join the conversation.

More
4 years 8 months ago #5089 by Ali
Hi,

One more question please:

I have downloaded the free version, and all worked very well, but couldn't know how to add new fields.

For Example, need to add those fields"

Field 1: Product Name
Field 2: Product Code
Field 3: Product Details
Field 4: Manufacturer Name
Field 5: Importer Co. Name

Many thanks again for your help and support.

Best Regards
Raffet Ali

Please Log in to join the conversation.

Moderators: Dirkjoest