Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to set a default value in a Value Help Drop Down List

Hi,

I used an age Range field in my adobe form, the control is a Value Help Drop Down List. i am populating the drop down using following code.

IWDAttributeInfo ageInfo = wdContext.nodePersonalData().getNodeInfo().getAttribute("CTAgeRange");

ISimpleTypeModifiable ageType = ageInfo.getModifiableSimpleType();

IModifiableSimpleValueSet ageValueSet = ageType.getSVServices().getModifiableSimpleValueSet();

ageValueSet.put("1","21-29");

ageValueSet.put("2","30-34");

ageValueSet.put("3","35 or Above");

My requirement is to set a default value e.g. 30-34 in the age range field.

I want to give input to iform from my Implementation code only.

Please help.

Thanks in advance

Former Member
Not what you were looking for? View more on this topic or Ask a question