I have a combobox plugin containing data fields that may be used in the creation of form letter templates using FCKeditor. The whole thing works like a charm whenever the user selects an item from the combobox for insertion into the template. The only problem is I'm having to preload the combobox with every possible data field the users may require.
Located on the same web page, but external to the instance of FCKeditor are two dropdown comboboxes; the first one contains three entity types ... Carrier, Member and Provider, while the second one contains four processes ... Excess Funds Received, Overpayment Recovery, Receive Funds - Check, and Receive Funds - Remit. Based on the selections made in each of these two comboboxes, I have a Web Service that queries the database and returns an array of all data fields applicable to those two choices. I wish to delete all previous entries from my combobox plugin in FCKeditor's Toolbar and dynamically populate it with the items returned from the Web Service in this array.
Has anyone here done the same or is there anyone who could point me in the direction I need to go? I'd be most appreciative of any assistance afforded me.
Located on the same web page, but external to the instance of FCKeditor are two dropdown comboboxes; the first one contains three entity types ... Carrier, Member and Provider, while the second one contains four processes ... Excess Funds Received, Overpayment Recovery, Receive Funds - Check, and Receive Funds - Remit. Based on the selections made in each of these two comboboxes, I have a Web Service that queries the database and returns an array of all data fields applicable to those two choices. I wish to delete all previous entries from my combobox plugin in FCKeditor's Toolbar and dynamically populate it with the items returned from the Web Service in this array.
Has anyone here done the same or is there anyone who could point me in the direction I need to go? I'd be most appreciative of any assistance afforded me.