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 - FormFieldJavaScriptAction
  FAQ FAQ  Forum Search   Register Register  Login Login

FormFieldJavaScriptAction

 Post Reply Post Reply
Author
Message
Koverhage View Drop Down
Beginner
Beginner
Avatar

Joined: 30 Jun 22
Location: Germany
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Koverhage Quote  Post ReplyReply Direct Link To This Post Topic: FormFieldJavaScriptAction
    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
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 03 Jul 22 at 9:28PM
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

Back to Top
Koverhage View Drop Down
Beginner
Beginner
Avatar

Joined: 30 Jun 22
Location: Germany
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Koverhage Quote  Post ReplyReply Direct Link To This Post Posted: 04 Jul 22 at 7:15AM
Thanks, Ingo. I will try it.
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