I'm creating a custom widget to wrap a user reference in a hierarchical select. I want the user to select a club and then select players that belong to that club.
The issue I'm running into is that I want to be able to select multiple values -- multiple players from multiple clubs. So I set to widget_info hook to set "multiple values" to CONTENT_HANDLE_CORE so that I get the standard cck "Add Another Item" button.
1. When I have multiple values enabled and I select a new level 0 item, the UI changes to display the element's weight as a select list.
2, When I click on "add another item", the orginal element gets a text box telling me that I don't have Javascript enabled and adds an update button to the element. A new row is created but when I select an item in level 0, I get "Received an invalid response from the server".
Any ideas on how to get multiple values working?
Comments
Comment #1
GoldTidying up the issue queue. The 6.x version is no longer supported. Only reopen this if it also applies to the 7.x.