Highlighted

DropDown

Zahed3570

24-07-2020

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

Replies

Highlighted

gbedekar

30-09-2020

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>

Highlighted

Kosta_Prokopiu1

Employee

30-09-2020

@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.