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: 439
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
Read Message
Read Message
Previous Topic: Changing screen look
Next Topic: Importing default values -> enclosed in quotes
Goto Forum:
  


Current Time: Sat Nov 30 21:54:35 EST 2024

Total time taken to generate the page: 0.01480 seconds