Planet PDF Forum Planet PDF Forum
  New Posts New Posts RSS Feed - Show/Hide A Field With A Popup
  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.

Show/Hide A Field With A Popup

 Post Reply Post Reply
Author
Jackie View Drop Down
New Member
New Member


Joined: 27 Sep 2013
Location: Melbourne Vic
Points: 14
Post Options Post Options   Quote Jackie Quote  Post ReplyReply Direct Link To This Post Topic: Show/Hide A Field With A Popup
    Posted: 13 Jul 2015 at 4:48am
Hi all, just wondering if its possible to have a popup asking if you want to show or hide a field?

Click on the button and then the action is undertaken.

Regards
Back to Top
Sponsored Links


Back to Top
try67 View Drop Down
Senior Member
Senior Member


Joined: 15 Jul 2011
Points: 628
Post Options Post Options   Quote try67 Quote  Post ReplyReply Direct Link To This Post Posted: 13 Jul 2015 at 1:43pm
Sure. You can do it with a simple alert window, like this:

var reply = app.alert("Click Yes to show the field, or No to hide it.",2,2);
if (reply==4) this.getField("FieldName").display=display.visible;
else if (reply==3) this.getField("FieldName").display=display.hidden;

- Acrobat Expert - Contact me personally at try6767@gmail.com
Check out my custom-made scripts website: http://try67.blogspot.com
Back to Top
Jackie View Drop Down
New Member
New Member


Joined: 27 Sep 2013
Location: Melbourne Vic
Points: 14
Post Options Post Options   Quote Jackie Quote  Post ReplyReply Direct Link To This Post Posted: 15 Jul 2015 at 4:09am
Thank much appreciated
Jackie
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.