Copy link to clipboard
Copied
I have an already filled pdf form. It contains RB with respectively 5 choices and 5 export values : in order (5, 4, 3, 2, 1) I would like to export a different value according to which RB is checked. for instance if the second is checked, instead of exporting the value 4 I would like it to export the value 2. Please help Thx
Copy link to clipboard
Copied
Export to where, exactly?
Copy link to clipboard
Copied
I export the PDF form data as xml files or excel spreadsheets.
Copy link to clipboard
Copied
In that case it's not possible. You can use a script to generate the output you want, but it can only be plain-text.
Copy link to clipboard
Copied
I tried things like this but didnt work :
for(var i=0 ; i<RB.length ; i++) {
if (RB.checked) {
RB.exportValues = « new value » ;
}
}
Copy link to clipboard
Copied
Have you looked at how one can export data from an PDF file and the formatting of the exported data. Acrobat forms does a variation of XML called XFDF. You could created additional hidden fields that would have the values you want to use, but this makes exporting the data more complex.
Copy link to clipboard
Copied
yes I know that I can as well export and recode exported values but it takes more time.
I hoped I could batch run a script on all my PDFs and then export properly
Copy link to clipboard
Copied
I tried things like this but didnt work :
for(var i=0 ; i<RB.length ; i++) {
if (RB.checked) {
RB.exportValues = « new value » ;
}
}
Find more inspiration, events, and resources on the new Adobe Community
Explore Now