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

TOPIC:

combobox - foreign key 07 Aug 2013 07:38 #10701

Hello,

When I use the preview window, I see a nice combobox for my foreign key.

When I use the sandbox, the combobox is replaced by a textbox.

Here a printscreen.

How can I have a combobox in the sandbox?

Thank you,
Have a nice day!
Sebastien

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

Last edit: by sderrico.

combobox - foreign key 07 Aug 2013 07:39 #10702

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

Last edit: by sderrico.

combobox - foreign key 07 Aug 2013 15:40 #10707

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Hi and welcome to the community.

This is a common question.

The preview function is not finished so it is not true.

You must open the node and choose wich data to see in the combo box.
If you do not do that, Cookie cannot know wich key string to use.

So,
1. simply remove the FK from the form.
2. Open the sondage node
3. Choose the correct subfield and drop it in your form.
Coding is now a piece of cake
The following user(s) said Thank You: sderrico

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

combobox - foreign key 20 Aug 2013 13:30 #10867

Excellent, this works!

Thank you!
Sebastien

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

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

Although I found this tool some time ago I just started learning experimenting and building this first component on Monday and now on Thursday afternoon it's already online. Although I already had a working version done with another tool this is much easier to build and at the end you have the freedom to own your own component. Once you know how to use Cook you will boost your productivity as the learning curve is really moderate compared to many other tools.
Giori (Forum)

Get Started