Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

DropDown

Avatar

Level 1

Hi All

 

I am new to this forum and also Adobe forms development.

 

I have a dropdown for example

 

01-UK

02-France

03-Kenya

04-USA

 

When the user selected the 01-Kenya or example, when I export the form as delimated text I want 01 to export and not 01-UK

 

Any help would be appreciated

Thanks

Zahed

3 Replies

Avatar

Employee

How are you exporting the form data?

i just tried to export the form data from the pdf in xml format and it worked fine

<?xml version="1.0" encoding="UTF-8"?>

-<form1>

<Name>John</Name>

<Address/>

<City/>

<State/>

<ZipCode/>

<Country/>

<DropDownList1>1</DropDownList1>

</form1>

Avatar

Employee

@Zahed3570 yes, let's assume it is PDF and Designer and not Adaptive Form - here is how the Drop-Down would look like:

Kosta_Prokopiu1_0-1601477758699.png

The list of options is defined here as shown

Kosta_Prokopiu1_1-1601477807935.png

and important the Binding tab to be set like this:

Kosta_Prokopiu1_2-1601477867683.png

And then the result is as @gbedekar describes it in his XML data. You can even use 01,02,03,04 as values here if that is what you require.