Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Framework » DropDown Field values - changing in runtime
Re: DropDown Field values - changing in runtime [message #7682 is a reply to message #7681] Wed, 16 February 2022 04:08 Go to previous messageGo to previous message
htManager is currently offline  htManager
Messages: 421
Registered: May 2014
Senior Member
Sorry, my fault. I didn't explain it right.

I have a foreign (compound) key in my table and I call a popup form to choose an occurence of this foreign table. In _cm_getExtraData() I have the code for filling the dropDown list with the values of a table consisting of the foreign key and another key field with the (detail) values I want.

As far as I understand, the popupReturn event doesn't fire an 'onchange' trigger and that's why the _cm_updateFieldarray() method will not be fired.

Using a dropdown field for a compound key as desribed in FAQ 138 was the last time too difficult for me. But I will try it again.

It is possible to fire an 'onchange' trigger in the _cm_popupReturn() method after filling in the selected values in $fieldarray? Or is there a better solution for this problem?

[Updated on: Wed, 16 February 2022 06:57]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SQL with concat() - cannot extract token from
Next Topic: List pattern - fields of joined tables disappear by reset
Goto Forum:
  


Current Time: Sat Aug 03 22:13:24 EDT 2024

Total time taken to generate the page: 0.10198 seconds