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

For starters it's just so easy to design an app in a way that I'm used to i.e. database first then views followed by customization. The fork system is pure brilliance from a developer standpoint as I can override things and still add and update my projects with minimal effort! Truly amazing to be able to build components in Joomla using incremental refinement without having to do everything by hand. Thanks for the great tool! I am so much more productive now than ever and I can't imagine building components any other way!!!!
Dave (Forum)

Get Started