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
infomamun View Drop Down
New Member
New Member

Joined: 24 Jun 2018
Points: 1
Post Options Post Options   Quote infomamun Quote  Post ReplyReply Direct Link To This Post Topic: combo box is not validating by nitro pro 8
    Posted: 24 Jun 2018 at 11:40am

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 =;    
var fv = event.value;

if (fv == "One") {
    f.fillColor =;
else if (fv == "Two") {
    f.fillColor = color.yellow;
else if (fv == "Three") {
    f.fillColor =;
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.