on 06-22-2008 2:34 PM
Hi experts,
I am developing a new Adobe form.In that I am using a table,the table consist of three drop downs in each row.
My requirements are
1. I want to fill the three drop downs.Guide me in that..
2. How to capture the value selected in first dropdown...
2. Based on the value selected in first dropdown I want to set the remaining two dropdowns.
I am using AdobeDesigner 7.1.
Please help me to achive this ....
Thanks&Regards,
Mathi.
Hi Mathi,
Answers to your questions:
1. To fill the drop down select the drop down you want to fill and go to the Object palette, choose field tab and there would be an option list item press the icon button and the value you want. Similarly use button to remove the values.
2. To use the values outside the form bind the drop down to a attribute from the data source.
3. To use inside to set values of the remaining drop downs use the following code at the exit event of the first drop down.
if (a.rawValue == 'a' )
{
b.rawValue = 'f';
c.rawValue = 'h';
}
here i have supposed that a, b, c are three dropdowns.
a has values : a,b,c.
and b has values : d,e,f.
and c has values : g,h,i.
To write this code in the exit event of the first drop down(a) select it and in the script editor choose exit event.
To show script editor go to windows in the menu and choose script editor.
I hope it will be helpful.
Regards,
Vaibhav Tiwari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.