cancel
Showing results for 
Search instead for 
Did you mean: 

how to add values to drop down list in adobe forms

Former Member
0 Kudos

how to add values to drop down list in adobe forms

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

If you are using WD Java following are steps of filling values in DD Box:

1 Create a simple type in the Dictionary.

2 Create an attribute "CountryNew" in the Context of type created by you.

3 Write following code in the init method of the form:

IWDAttributeInfo countryinfo =

wdContext.nodeEmployee().getNodeInfo().getAttribute("CountryNew");

ISimpleTypeModifiable Country = countryinfo.getModifiableSimpleType();

IModifiableSimpleValueSet countryValueSet =

Country.getSVServices().getModifiableSimpleValueSet();

countryValueSet.put("IN", "INDIA");

countryValueSet.put("US "USA");

4 Add a Enumrated DD box in the form and bind it to the attribute "CountryNew"

Hope this helps

Amit

Former Member
0 Kudos

IN ABAP

vaibhav_tiwari
Contributor
0 Kudos

Hi,

Do the following in your form Designer:

1. Open the form.

2. Select the Drop down list.

3. Select Object Palette>Field.

4. Their will be option list item.

5. Click on the icon.

6. Give the text below in the text area.

7. Add as many items as you want.

Regards,

Vaibhav Tiwari.

Answers (0)