Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

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

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

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

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
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

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

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

Hey,
sorry for my late reply... i ve been on hollidays... :-)
Thx a lot. I will try.

Bye

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

  • Page:
  • 1
Time to create page: 0.088 seconds

Les générateurs de code je les connais presque tous pour les avoir essorés en long en large et en travers ... mais celui ci c'est vraiment un outil formidable de simplicité et d'efficacité !
Marc. (liubov - Forum)

Get Started