Planet PDF Forum Planet PDF Forum
  New Posts New Posts RSS Feed - Text Activated Script Action
  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.

Text Activated Script Action

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


Joined: 27 Sep 2013
Location: Melbourne Vic
Points: 11
Post Options Post Options   Quote Jackie Quote  Post ReplyReply Direct Link To This Post Topic: Text Activated Script Action
    Posted: 05 Apr 2018 at 2:24am
Hi everyone.  I was looking through my javascript library  for a text activated javascript but couldn't find it.

The  script is I have to write the correct text in a text field, say in this case its Mary to activate the javascript action.  If I write any other text the javascript is not actioned.  Can anyone help?
Jackie
Back to Top
Sponsored Links


Back to Top
try67 View Drop Down
Senior Member
Senior Member


Joined: 15 Jul 2011
Points: 621
Post Options Post Options   Quote try67 Quote  Post ReplyReply Direct Link To This Post Posted: 15 Apr 2018 at 8:48pm
As the field's custom validation code enter the following:

if (event.value=="Mary") {
// do something
}
- 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: 11
Post Options Post Options   Quote Jackie Quote  Post ReplyReply Direct Link To This Post Posted: 18 Apr 2018 at 1:32pm
Thanks much appreciated

Smile
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.016 seconds.