These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Forcing a number between 0-100%.

skotter623
Registered: Jun 14 2007
Posts: 12

I am using Adobe LiveCycle Designer and I have a numericfield that I am having people put a percentage between 0-100. Without javascript I was only able to force a number between 0-999. I am wonder how I can use javascript to force the number to be between 0-100%. Thanks.

My Product Information:
Acrobat Pro 8, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Yes, you can use a validation script like this.

this.rawValue

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script