Print Page | Close Window

How to set format to a form field ?

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3644
Printed Date: 19 Apr 24 at 11:09AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: How to set format to a form field ?
Posted By: dentor
Subject: How to set format to a form field ?
Date Posted: 07 Dec 18 at 8:19AM
Hello,
I didn't find any explanation to set a format to a form field.

I try to set SetFormFieldFormatMode to 15,
and set the value of the form field with SetFormFieldValue with a value and a format separed by a pipe |: the value is visible but the format didn't work.

I use Quck PDF Library version 16.11.

Thanks for every one with some informations.




Replies:
Posted By: Ingo
Date Posted: 09 Dec 18 at 2:57PM
Hi Dentor,

you know that it's mainly for textinput?
"...
Use the https://www.debenu.com/docs/pdf_library_reference/SetFormFieldFormatMode.php" rel="nofollow - SetFormFieldFormatMode function to allow text form fields to have a different value and formatted value.
..."
Is it an own formfield or is it a formfield from an external pdf form?

Cheers and welcome here,
Ingo



-------------
Cheers,
Ingo



Posted By: dentor
Date Posted: 09 Dec 18 at 4:56PM
Hello,

Thanks for helping.

It is during the creation of a new pdf form with Quick pdf Library, I use version 16.11.

My intention is to set a format to a new form field like date or other form field format, but perhaps it isn't the purpose of this function.


Posted By: Ingo
Date Posted: 09 Dec 18 at 9:43PM
Yes... you're right. That's not the purpose ;-)
Please have a look at SetFormFieldValueEx:
https://www.debenu.com/docs/pdf_library_reference/SetFormFieldValueEx.php
Perhaps you'll find something if you're searching through the form field functions group:
https://www.debenu.com/docs/pdf_library_reference/FormFields.php



-------------
Cheers,
Ingo




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk