cancel
Showing results for 
Search instead for 
Did you mean: 

Filling Drop down in Adobe forms

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

vaibhav_tiwari
Contributor
0 Kudos

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.

Former Member
0 Kudos

Hi Vaibhav Tiwari,

Thanks for ur Reply. How to get values from the internal table for dropdown?

Thanks & regards

Mathi

vaibhav_tiwari
Contributor
0 Kudos

Hi Mathi,

Do the Following:

1. Create a context node bound to the internal table.

2. Take it as data source for the form.

3. Bind the drop down field to the attribute in the data source (i.e. the attribute to which the field you want from the internal table is bound).

Regards,

Vaibhav Tiwari.

Former Member
0 Kudos

Hi Vaibhav Tiwari,

Thanks for ur immediate reply.I have done all the things u mentioned,but the drop-down is populated with only one value.

Could you please tel me if we want to map attribute or internal table for drop-down?

Thanks& regards

Mathi.

vaibhav_tiwari
Contributor
0 Kudos

Hi Mathi,

You have to map attribute only. It becomes possible in java web dynpro by creating a simple type. But in ABAP web dynpro or in SFP transaction I don't have any clear idea. But I will try from my side to find out the solution and let you know if get succeed.

Regards,

Vaibhav Tiwari.

Former Member
0 Kudos

Hi,

Thank you so much,.....................I am waiting for your reply.....

Thanks & Regards

Mathi

Former Member
0 Kudos

Hi Mathi,

please look at my reply to anoth question and see if it helps you:

Regards,

Juergen

Answers (0)