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!
![]() |
FormFieldJavaScriptAction |
Post Reply ![]() |
Author | |
Koverhage ![]() Beginner ![]() ![]() Joined: 30 Jun 22 Location: Germany Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() Posted: 30 Jun 22 at 7:47AM |
Hello, i generate a form filed with DPLNewFormFieldA if the form field value is changed, the color should be changed, e.g. from black to red. Can anyone show the the script code / sample how i can do that ? Thanks
|
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Hi Klaus,
QuickPDF is able to check if a form field has changed. You should try this function: https://www.debenu.com/docs/pdf_library_reference/GetFormFieldJavaScript.php Additionally i've found two functions in QuickPDF to change the color of form fields: http://www.debenu.com/docs/pdf_library_reference/SetFormFieldBackgroundColor.php http://www.debenu.com/docs/pdf_library_reference/SetFormFieldBackgroundColorCMYK.php What's still missing is the real java script code and for this you should try google like i do: https://www.codegrepper.com/code-examples/javascript/change+textbox+color+javascript Cheers and welcome here, Ingo |
|
Cheers,
Ingo |
|
![]() |
|
Koverhage ![]() Beginner ![]() ![]() Joined: 30 Jun 22 Location: Germany Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() |
Thanks, Ingo. I will try it.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store