Planet PDF Forum Planet PDF Forum
  New Posts New Posts RSS Feed - combo box is not validating by nitro pro 8
  FAQ FAQ  Forum Search   Register Register  Login Login


Hi, welcome to the Foxit Planet PDF Forum. If you have PDF or Adobe Acrobat questions then the right place to ask them is here, in this forum.

combo box is not validating by nitro pro 8

 Post Reply Post Reply
Author
jhon11 View Drop Down
New Member
New Member
Avatar

Joined: 22 Aug 2018
Location: United states
Points: 2
Post Options Post Options   Quote jhon11 Quote  Post ReplyReply Direct Link To This Post Topic: combo box is not validating by nitro pro 8
    Posted: 22 Aug 2018 at 12:52am
I read your post, and understand the issue. I have a solution on that because I also face the same issue. when I face the issue I take a help of https://technicaladviser.sitey.me/ to solve out my issue. if you are interested you can also take a help of this site.

Edited by jhon11 - 22 Aug 2018 at 12:54am
Back to Top
Sponsored Links


Back to Top
infomamun View Drop Down
New Member
New Member
Avatar

Joined: 24 Jun 2018
Points: 1
Post Options Post Options   Quote infomamun Quote  Post ReplyReply Direct Link To This Post Posted: 24 Jun 2018 at 11:40am
uploads/3561/pdfByNitro.pdf

Hi there,
The above sample file is a simple pdf file which has only one combo box (drop down menu). What I intend to do, default color of this drop down menu will be white. But when an user will select "One", it will become green in color, if select "Two" it will be yellow and if "Three" it will be red. I have put the following validating script in the form:

var f = event.target;    
var fv = event.value;

if (fv == "One") {
    f.fillColor = color.green;
}
else if (fv == "Two") {
    f.fillColor = color.yellow;
}
else if (fv == "Three") {
    f.fillColor = color.red;
}
else {
    f.fillColor = color.white;
}
It is created in Nitro Pro 8 version. However, although it is working well in Adobe Acrobat but it's color is not changing in Nitro itself. I have tested it both by turn off and on of Highlight Form Field option. It is also not happening if opened by google chrome buil-in pdf viewer.

Would someone download and check why this is occurring in Nitro Pro 8?

Any help will be appreciated.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.10
Copyright ©2001-2017 Web Wiz Ltd.

This page was generated in 0.031 seconds.