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

I'm playing around with the new mvc and the FORK feature is FANTASTIC!!! it's saving me a lot of time! you are doing a very good job!!

Tomaselli (Forum)  

Get Started