Print Page | Close Window

JavaScript Form Field Limiting Numbers

Printed From: Foxit's Planet PDF Forum
Category: Lets Talk PDF
Forum Name: JavaScript
Forum Description: Discussions relating to the use of JavaScript within PDF.
URL: http://forums.planetpdf.com/forum_posts.asp?TID=252
Printed Date: 21 Sep 2019 at 6:00am
Software Version: Web Wiz Forums 11.10 - http://www.webwizforums.com


Topic: JavaScript Form Field Limiting Numbers
Posted By: Dawno
Subject: JavaScript Form Field Limiting Numbers
Date Posted: 13 Mar 2012 at 10:47am
I am looking for help for a form field in which I need it to prevent anyone from adding a certain number entry. For example: This field a user can't add a number beyond 27. So, when they try to enter 28 it wont let them. Approve This field they can't enter a number higher than 100.

-------------
DW



Replies:
Posted By: try67
Date Posted: 13 Mar 2012 at 4:03pm
You don't need JS. There's a built-in option in Acrobat to limit the range of possible input to text fields set as Number. Look under the Validate tab.

-------------
- Acrobat Expert - Contact me personally at try6767@gmail.com
Check out my custom-made scripts website: http://try67.blogspot.com


Posted By: Dawno
Date Posted: 13 Mar 2012 at 4:29pm
Oh goodness. Thank you for your help.

-------------
DW



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.10 - http://www.webwizforums.com
Copyright ©2001-2017 Web Wiz Ltd. - https://www.webwiz.net