Welcome, Guest
Username: Password: Remember me

TOPIC: [FAQ] combobox - foreign key not shown

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

  • sderrico
  • sderrico's Avatar
  • Offline
  • New Member
  • Posts: 3
  • Karma: 0
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
Last Edit: 07 Aug 2013 13:46 by sderrico.
The administrator has disabled public write access.

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

  • sderrico
  • sderrico's Avatar
  • Offline
  • New Member
  • Posts: 3
  • Karma: 0
Last Edit: 07 Aug 2013 07:41 by sderrico.
The administrator has disabled public write access.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
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 administrator has disabled public write access.
The following user(s) said Thank You: sderrico

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

  • sderrico
  • sderrico's Avatar
  • Offline
  • New Member
  • Posts: 3
  • Karma: 0
Excellent, this works!

Thank you!
Sebastien
The administrator has disabled public write access.
Time to create page: 0.101 seconds

Get Started