Welcome, Guest
Username: Password: Remember me

TOPIC: Fill a Enumeration dynamicaly

Fill a Enumeration dynamicaly 16 Mar 2012 10:16 #1612

  • Chris_CC6
  • Chris_CC6's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Karma: 0
Hi,
at first: great Tool!

But is there a way to fill an enumeration with the values of a table?
My problem is: I would like to create a Clan-Tool for my Gaming-Clan. In the backend i want to create games, modes for the game and maps for each mode... something like that. And in the frontend i want a button/menu "Fight Us" displaying a form with textboxes and enumerations. In the enumerations the Visitor should be able to select a game. The next enumeration shows only modes of the selected game and so on... At the end the visitor should be able to save the values in a seperate table not changing the games/modes/maps i created in the backend.
Is there a way to realize it? Or am i too stupid?

Thanks a lot for answer.
Chris
The administrator has disabled public write access.

Re: Fill a Enumeration dynamicaly 16 Mar 2012 17:17 #1626

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Welcome to the community !


Use a table for that instead of an enumeration.

Then, wherever you want, even in forms, instance de joined title field of this joined table.

It is one of the basics in Cook. You can find many post about that.
Coding is now a piece of cake
The administrator has disabled public write access.

Re: Fill a Enumeration dynamicaly 24 Mar 2012 12:06 #1722

  • Chris_CC6
  • Chris_CC6's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Karma: 0
Hey,
sorry for my late reply... i ve been on hollidays... :-)
Thx a lot. I will try.

Bye
The administrator has disabled public write access.
Time to create page: 0.056 seconds

Get Started