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

Edit variable length field

johnmolina
Registered: Mar 27 2008
Posts: 76

I have a text field that has fixed numeric and Alpha fields with a total of 18 characters. However the last 7 are optional and can be alpha or numeric (it currently makes me enter all 18)

T1234-5678C0001

T0004-0123B000023

T0004-0123B000023A

I have it set as:

A9999-9999AOOOOOOO

Is there a value that I can replace the 'O's with to allow alpha or numeric, but not require all of them to be filled? Sounds simple, but cannot locate this option.

Thank you.

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
The format of the LiveCycle designer input and validation patterns is called a Picture Clause. There is a whole document about writing them. You'll find it near the bottom of this page.

http://partners.adobe.com/public/developer/xml/index_arch.php

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/]http://www.adobe.com/devnet/acrobat/[/url]

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