Alpha / Digital in a pdf text field

How can I do to alpha alone or only numeric characters can be entered in a pdf text field?  I want the input size to be unlimited (I don't like the number of characters, as long as they are all either alpha or numeric.)  Any help would be appreciated.

Use this as the custom for this field validation script:

var alphaNumericPatt = / ^ [0 - 9a - zA - Z] * $/;
Event.RC = alphaNumericPatt.test (event.value);

Tags: Acrobat

Similar Questions

  • Form of PDF text field label

    Hello everyone.  I was wondering if there was a way to make a visible label in normal mode for a form of PDF text field.  I do my PDF form with a text box to fill in.  Well, I would like the name of the box appears when someone opens the PDF, not only if they go only in the view of the edit form.  I hope I'm making sense.  So far, the only thing I can think of is to do a button with the label above the text box to fill out or make the text to a drop-down list in the box area.  However, with a drop-down list box, I can not change how the text will display when it is typed in.  At the present time, although, when someone opens the PDF file, normally, the highlighted text to fill Boxing see the but not the labels with them even though I have names entered the name and ToolTip.

    Any suggestions?

    One thing you can do is set up a script to custom size for a text field that is:

    Custom format for text field script

    If (! event.value) event.value = event.target.name;

    This will display the name of the field in the field when the field is empty. The problem with this approach is that it is easily opposed using all built-in formatting that you can use (number, POSTAL code, etc.). You can always, but it takes more than script.

  • How to import excel table in pdf text fields

    I am trying to import an excel file / saved as 'Tab Delimited Text' to a PDF file with existing text files - I can get the 1st row of copy, but when I try to add the 2nd row, it changes all copy. Anyone know how I can add rows to copy in a pdf file? Maybe what I need to change the properties of the text field to?

    You can import a row of data at a time.

    If you want to create a new copy of the file for each line that is called mail merge and it can be reached by using some versions of the plugin PDF Maker in Word or Excel, or by using a script.

  • How to make the PDF text field to be strikes do not copy/paste from previous text fields?

    Dear friends

    Helps to solve a problem related to the fields of PDF text, please

    Is there a way to make a PDF of the respondent, which ends of fields text to type own text not copy/paste of the previous text fields?

    Thank you very much!

    Copy the following code, used as key event custom field of your field, will prevent to enter more than one character at a time, which means that copy it text from an external source is not possible:

    if (event.change.length>1) event.rc=false;
    

    However, you can inform your users of this restriction, or they think that something is wrong with the file.

  • How to allow the user to enter only alpha numeric characters in the text field?

    Hello

    Is it possible to restrict the user to enter only alpha numeric characters in the textfiled?

    Thank you

    Starting from the version 4.7, I don't see any how useful filter adapted to your needs.  Then why don't you override keyChar() like this:

    EditField eField = new EditField("Enter letters and digits only: ", "") {
        protected boolean keyChar(char ch, int status, int time) {
            if (CharacterUtilities.isLetter(ch) || CharacterUtilities.isDigit(ch) || (ch == Characters.BACKSPACE)) {
                return super.keyChar(ch, status, time);
            }
            return true;
        }
    };
    

    I have not tested this code, but you can give it a shot...

    You can add a manipulation (or super.keyChar...) for Characters.ENTER and Characters.ESCAPE, as well as anything else you be useful, such as the comma and the period.

    Hope this helps,

    Arkady.

    Edit: added Characters.BACKSPACE - you want to change, not you?

  • How to make a text field to accept a capital letter has or a number in the position of the first character and only the numbers after that?

    Hi all

    We have a text field in one of our screen in our mobile app. Currently the user can enter alpha numeric characters in this text field.

    It is now that this field should accept a capital letter A or a number in the position of the first character and only the numbers after that.

    Could someone let us know how to do this?

    Thank you.

    Or, how about the substitution of this abstract method in textFilter?

    public boolean validate(character char,
                            AbstractString text
    int position)

  • How can I add white space between areas that contain text fields? I use Adobe Acrobat Pro DC 2015.  I'm trying to change an existing PDF. I need to add white space between areas that contain text fields to allow these text fields to be developed and not

    How can I add white space between areas that contain text fields?

    I use Adobe Acrobat Pro DC 2015.

    I'm trying to change an existing PDF. I need to add white space between areas that contain text fields to allow these areas to be developed and do not overlap the text and the text below fields.

    For example:

    1. 1.

    Progress/strategies:

    1. 2.

    Progress/strategies:

    1. 3.

    Progress/strategies:

    1. 4.

    Progress/strategies:

    The space between each 'progress/strategies' increasing needs. A text field is under each of them. If it's a Word doc, I could just press on enter. What is the best way to do this with Adobe Acrobat Pro DC?

    There is no easy way to do it. You need to move the text fields more apart and if there are static elements, then you will need to use the tool edit text & Images to move them, separately.

  • I have created a form in Indesign. Is there a way to create the default text in a text field that displays the interactive pdf "insert text here" in the text field?

    I have created a form for the company, so that I work. It is a form that will be used in several offices and has buttons, drop downs and text fields. One of the text fields has a requirement that when the PDF file is opened, the text field has something written in there already, as an example (and one only) INSERT the TEXT HERE. I created the text field in Indesign and used the text tool to type in the area of the body-copy required. After that I have to export it as an interactive PDF, text in the text field disappeared.

    Drop-down lists give an option for a default choice, but I don't see a way to create default text in the Panel of buttons and forms for text fields. Is there a workaround or a hidden feature?

    Thank you!

    Set it in Acrobat.

  • How can I prevent the text fields and drop downs changed after the form has been signed using a digital certificate? Thank you.

    Hi all

    How can I prevent the text fields and drop downs changed after the form has been signed using a digital certificate? Thank you.

    There is also a checkbox on the dialog box 'Sign' to lock document after signing.

  • PDF FORMS - can you assign a font size of a text field greater than 300pt?

    I create forms PDF from InDesign so that a customer can use as a model for in-store signage. It must be a PDF file so that one of their stores can simply change the wording of the text and print it. For smaller signs, I didn't have a problem, open the form in Acrobat and adjusting the text field properties to suit design styles I prescribed. But on signs largest where they must be legible from a distance, I can't get the size of the font to work above 300. For one of the signs I need the police to be as big as 930.

    Does anyone have a solution for this? Is there a way I could use a script to adjust the font size.

    Whatever the solution is, it should be ready to print.

    Thank you.

    Yes, you can use a script, something like:

    Change the font size of a field

    getField("Text1").textSize = 930;

    but replace "Text1" with the actual name of the field. You can run this in the JavaScript console interactive, or of the mouse event to the top of a temporary button.

  • How can can add text fields in the form automatically pdf document?

    I use Adobe Acrobat X (10.1.3) installed on Windows 7 to create pdf forms. My document is very similar to a "lined paper A4 notebook.

    I want to add the text field for each row of lined notebook, so people will be able to write what they want line by line.

    As my document has 20 lines in each page, and a total of 64 pages, I won't add these fields one by one. (drawing of rectangles with precision and aligning each other, assigning separate 'field name' to ensure solid mounting.)

    Property 'Set the Multiple field' within the right - click cause misalignment during 5-6 lines statement on the other.

    You have any suggestions or work around I can receive?

    See Doc.addField. If there is a model for the positions lines on each page, then you can generate the positions in JavaScript and use Doc.addField to set the text fields.

  • How can I insert instructions/text in a PDF form text field that can be typed by the end user?

    How can I insert instructions/text into a text form field that can be typed by the end user? As the screenshot attached.

    I already have a PDF (not created by me) I have to edit but cannot work out how to enter into new fields of text instructions, I create. I tried to do in InDesign, but the text gets just covered by the blue shape box when you view the final PDF file.

    Screen Shot 2015-08-07 at 10.53.10.png

    Follow the instructions as default value for the field and then reset the form.

    See also: is there a way to add instructional text to my text field that disappears when you click on? (PDF Forms)

  • Interactive PDF: creating forms and anchor text field

    Hi, I'm new to this and have an urgent job, so please help:

    I create an interactive PDF file, adding fields of text placed above the lines and wonder how I can:

    1 ANCHOR these fields for text, we use for photo boxes or anchor text... and

    2. place the text fields anchored above the lines that I typed in the space allocated for this text field.

    Any help would be appreciated, thanks!

    You can use an anchored object. Place your cursor after the text and create an anchor, this will put an anchor point. Once the image is inserted, it can be converted into a text field. Use the 'Relative to anchor Marker' option, which will allow the anchor around if text is added.

  • How can I automatically populate the date field after only one "digitally signs" a .pdf form? Help, please! Thank you!

    How can I automatically populate the date field after only one "digitally signs" a .pdf form? Here's a sample:

    _ Digital Signature___ (signs), Date (Auto-remplit)

    Under field properties of the signature on the signature tab, you can use a custom script, like this:

    this.getField("Date").value = util.printd ("mm/dd/yyyy", new Date());

    You know, however, that a digital signature always displays the date and time, it has been applied?

  • Addition of text field in a PDF file and takes forever, why? Literally more than 1 minute of each text field

    I have a PDF file created from Microstation.

    I try to add some text fields, but it crashes whenever I have add a text field.

    Literally, it takes more than a minute per text field.

    The file size is only 475 KB so its not too big.

    I use Acrobat Professional X

    I already tried flattening of the document and NOTHING!

    I have re-print the file using PDFCreator and NOTHING!

    Please help me :-(

    Kind regards


    I'm sorry, I thought you were using 11 Acrobat. Preferably this parameter was introduced with Acrobat 11. In Acrobat 10, you can instead set the agenda tab 'Order tabs by Row' or something other than manually or not specified. To do this in the "Tab order" drop-down list in the component fields in form editing mode. If you want a custom tab order, wait until set when you have added all the fields.

Maybe you are looking for

  • I use my Apple Watch each day of market.

    Today, my training has shown that I started 08.04 and ended at 10.05 just over two hours. Distance is shown 4.31 miles at an average speed of 18.27minutes / hour. Total time is indicated as 1.19.35 hours, well below the time between my departure and

  • Re: Satellite A210 - USB 2.0 - Windows 7

    Hello world Since I have windows 7 installed, I recognized that my usb speed was very slow. After a check with everest, that I have seen that there is just a USB1 installed but I have USB 2.0. I searched all over the internet, but I can't find any US

  • Equium A100-549: blue screen error during installation of the recovery CD

    Hey,. I recently bought a Toshiba laptop computer, everything worked perfectly until my laptop was attacked. I've got rid of the virus and went to reformat due to a lot of problems that occur. The main one being a mistake has cursed and 'Blah blah' p

  • kb71211 keyboard

    The keyboard that came with my wanting to 700-147C is not indicated in the User Guide.  Is there a guide user or card specially for Model # KB71211?   Thank you.

  • Impossible to scan after to the top of Windows 8.1 collation

    I recently upgraded from XP to 8.1 and now my photosmart all-in-one will not scan.  It will print, but it will not scan from the printer.  I tried windows fax and scan, but it says that no scanner is installed.  I have the original disc but it says f