Hi,
I've created dialog with list box control. After populating with some data, I get wrong alphabetical order of items.Specifically item with character "č" is added on the end of the list[1] When i change character "č" to some other latin charcter like "š" everything works like charm[2]. Can you recommend me some workaround.Thank you
Pdf is created in Adobe Livecycle Designer 11 Xfa 3.3.
Preview is done in Adobe acrobat 11 and Adobe Reader DC 2017
1.
2.
Solved! Go to Solution.
Ok, I finally found solution[1]. Instead of populating items with dialog.load("LST1":myDataProvider), i call dialog.insertEntryInList on every item in my dataprovider and items are in correct order now.
1.
You posted the the Acrobat Reader forum, and you won't be able to fix it in the free Reader. Does it work correctly in LiveCycle? What kind of dialog box is it?
Views
Replies
Total Likes
Yes, i posted in wrong forum.I am not able to move it to right one. What do you mean "Does it work correctly in LiveCycle" ? I'm populating data dynamically. It does not matter if it's livecycle or not. I'm using custom ADM(Adobe Dialog Manager) and dialog.load to populate data into list control.
Views
Replies
Total Likes
ADM is old and unsupported:
Why me use acrobat SDK7.0 ADM create a Plugin(include Dialog), the Dialog change large
Views
Replies
Total Likes
Ok. maybe i wasn't precise. I'm using javascript version of ADM(app.execDialog) not native(c++)..If Javascript version is also deprecated, what is alternative to create dialog box in pdf nowdays?
Views
Replies
Total Likes
There is no ADM in JavaScript. You can create dialogs in JavaScript.
Views
Replies
Total Likes
Really?
http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/acro7jsguide.pdf
Using Adobe Dialog Manager (ADM) in Acrobat JavaScript
I know, i can create dialog in js. I already created some ..see my orginal question. I've got problem with sorting items in list_box element in dialog box..
Views
Replies
Total Likes
The document is about Acrobat 7. I can't see ADM in the documentation for Acrobat DC.
Views
Replies
Total Likes
Hi there,
usually such objects in a dialog are sorted automatically...
here is some documentation you might want to see by yourself that may help you create the sorted list that you need.
http://www.pdfshareforms.com/how-to-create-nice-dialog-windows-in-pdf-form/
Adobe LiveCycle Designer Cookbooks by BR001: Using app.execDialog() in an Adobe Designer Form
These 2 links helped me a lot to create the dialogs with JavaScript
Views
Replies
Total Likes
hi,
thank you for reply. But my problem is not to create Dialogbox. I've created several of them and they work just fine. My problem is sorting order of items in list_box control of dialog. When i use same dataprovider(as above) for xfa list control(choiceList) sorting order is fine. So my question was about some workaround here.
Views
Replies
Total Likes
Ok, I finally found solution[1]. Instead of populating items with dialog.load("LST1":myDataProvider), i call dialog.insertEntryInList on every item in my dataprovider and items are in correct order now.
1.
Views
Likes
Replies