Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - how to change the PDF field format
  FAQ FAQ  Forum Search   Register Register  Login Login

how to change the PDF field format

 Post Reply Post Reply
Author
Message
PeterXie View Drop Down
Beginner
Beginner


Joined: 08 Aug 12
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote PeterXie Quote  Post ReplyReply Direct Link To This Post Topic: how to change the PDF field format
    Posted: 11 May 15 at 11:31AM
Hi,

I am using QPDF v0913 for Delphi, there is a function to get the field format "GetFormFieldJavaScript", which returns "afnumber_format(2, 0, 0, 0, "", false);" indicating i am using format "Number", style ""," thousands and "." decimal" with 2 decimal digits, that is perfect!

The question is "how to change the format"?
There has no "SetFormFieldJavaScript", i found the function "FormFieldJavaScriptAction", calling this function like this "FormFieldJavaScriptAction(_FieldIndex, 'F', "afnumber_format(4, 0, 0, 0, "", false);")" could not change the format to have a 4 decimal digits, instead it added a custom format script.

Please tell me how to change each element of the format.

Thanks!
Back to Top
PeterXie View Drop Down
Beginner
Beginner


Joined: 08 Aug 12
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote PeterXie Quote  Post ReplyReply Direct Link To This Post Posted: 12 May 15 at 7:28AM
The original request is illustrated below:


Back to Top
mLipok View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 Apr 14
Location: Poland, Zabrze
Status: Offline
Points: 449
Post Options Post Options   Thanks (0) Thanks(0)   Quote mLipok Quote  Post ReplyReply Direct Link To This Post Posted: 13 May 15 at 5:26PM
below:
...
...
where ?
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600
Back to Top
PeterXie View Drop Down
Beginner
Beginner


Joined: 08 Aug 12
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote PeterXie Quote  Post ReplyReply Direct Link To This Post Posted: 14 May 15 at 2:04AM
Thank you for your reply!
I've got the answer from the support team.

BTW, this forum allowed me to paste a picture from clipboard, but failed to display it. Uploading a picture to cloud server and then providing the URL is annoying to me.
Thanks all the same!
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store