Welcome, Guest
Username: Password: Remember me
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
  • Page:
  • 1
  • 2

TOPIC:

Dependent/dynamic groupselect 3 weeks 2 days ago #6070

  • slaine
  • slaine's Avatar Topic Author
  • Offline
  • Posts: 4
  • Thank you received: 0
Hello, is there a way to create a dependent groupselect?
For example, if I have a table of products (food and tools) from which I want to select using two groupselect - "category" (food, tools) and "subcategory" (fruit, vegetables, meat, hardware, software).
In the first groupselect (category), for example, I choose "food" and based on that, in the second groupselect (subcategory) I am offered only "fruits", "vegetables", "meat" (not hardware and software) to choose from?
Thank in advance for reply.

Please Log in or Create an account to join the conversation.

Dependent/dynamic groupselect 3 weeks 2 days ago #6071

  • Dirk
  • Dirk's Avatar
  • Offline
  • Posts: 1162
  • Karma: 21
  • Thank you received: 214
It is possible. Groupselect automatically reduces the result of other to the Gropupselects.
Look here!

tamiyabase.com/index.php?option=com_jood...-more-search-options

or here

www.speck-triplex.de/hochdruck-plungerpumpen/pumpen-finder.html

Please Log in or Create an account to join the conversation.

Last edit: by Dirk.

Dependent/dynamic groupselect 3 weeks 2 days ago #6072

  • slaine
  • slaine's Avatar Topic Author
  • Offline
  • Posts: 4
  • Thank you received: 0
Nice is exactly what I mean. Can you please direct me to how you created "more search options" on tamiyabase.com.
I'm just a beginner, if you could send me the code, I would be very happy.

Please Log in or Create an account to join the conversation.

Dependent/dynamic groupselect 3 weeks 2 days ago #6073

  • Dirk
  • Dirk's Avatar
  • Offline
  • Posts: 1162
  • Karma: 21
  • Thank you received: 214

Please Log in or Create an account to join the conversation.

Dependent/dynamic groupselect 3 weeks 2 days ago #6074

  • slaine
  • slaine's Avatar Topic Author
  • Offline
  • Posts: 4
  • Thank you received: 0
I was looking. I created groupselect according to the pattern, but the selection options do not automatically refresh me :(

Please Log in or Create an account to join the conversation.

Dependent/dynamic groupselect 3 weeks 2 days ago #6075

  • Dirk
  • Dirk's Avatar
  • Offline
  • Posts: 1162
  • Karma: 21
  • Thank you received: 214
There is a third Parameter (Boolean / use search)

{joodb groupselect|food|5|1}
or
{joodb groupselect|articles|5|true}

FIELDNAME - Name of a field in your database
rows (optional, integer) - Number of rows for a multiselect form element.
use search (optional, boolean, default no) - Apply the current search to the result.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Moderators: Dirkjoest