on 04-04-2012 5:35 PM
I have a drop down list with the following:
<bindItems labelRef="MGTXT" ref="$record.DROP_LISTS.PROMOTION_RSN.DATA[*]" valueRef="MASSG"/>
in the XML Source listing of my form.
I want to change the binding using the Formcalc scriptiing language.
How do I write the script to make the change?
Hi,
I would like to understand, why do you want to do a dynamic binding.
why dont you populate the dropdown values dynamically instead, is there any specific reason...?
In any case is it fine if I give solution in JS..? check the below thread solved for a textbox.
http://forums.adobe.com/thread/335953
Cheers,
Sai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have Dropdown1 and based on the selected value I want a second Dropdown with the appropriate list values.
I pass a table of values for Dropdown1 as well as 10 tables for the values in the second Dropdown. When the selection for Dropdown 1 is made I want to make a determination on the value and bind the second Dropdown to the table that has the correct values.
Hi Mate,
If you know from 1st dropdown selection which table to refer for the 2nd dropdown then this can be done by simple javascript.
Just loop through the table and then add the key value pairs in to the 2nd.
I did similar code and posted for some post here in sdn itself.
Check if you can find it, else let me know.
Cheers,
Sai
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.