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.138 seconds

Freakin' Awesome!!! J-Cook is simply awesome - whether you're a highly experienced developer or complete novice whether you're building a small inventory component or a complete community solution! The beauty comes from a fast slick and reliable platform that readily provides developers with everything they'll need to build the backbone of a solid and secure component with wizards for authoring access publishing aliasing created/modified by dates... you name it COOK provides it! J-Cook really surpasses all of the 'competition' as far as MVC tools are concerned! Try love it and get cooking!
learnthrusong (JED)
          

Get Started