Limiting Text Box to Alpha Only A-Z using Acrobat 9 Standard

I'm trying to set a text box in my form to only accept alpha A-Z only.  Can anyone tell me how to go about doing this.  I'm working with Acrobat 9 Standard using a PDF file.  Thanks!

OK, it's a little more complicated with Standard than it shold be, but begin by adding the following JavaScript to the first page's Page Open event (Pages panel > right-click on first page > Page Properties > Actions > Page Open > Run a JavaScript > Add) :
// Allow just upperse letter from A to Z
function alphaOnly_ks() {
    // Get all of the characters that have been entered in to the field
    var value = AFMergeChange(event);
    // Do nothing if field is blank
    if(!value) return;
    // Reject the entry if the entry doesn't match the regular expression
    if(!AFExactMatch(/^[A-Z]+$/, value)) event.rc = false;
Just copy and paste that entire block of code.
Now in the text field you need to call this function in the Keystroke event (right-click field with Select Object tool active > Properties > Format tab > Custom format category > Custom Keystroke Script > Edit) like this:
// Limit this field to uppercase letters from A-Z
alphaOnly_ks();
If you only have one page in the document, close the document and reopen it. If there are more than one page, go to a different page and return. This has the effect of loading the script so it is available from the field. If you were using Pro, you could place the function in a document-level JavaScript and avoid this nonsense.
The field should now only allow entry of uppercase letters from A-Z. It possible to alter the script so that any lowercase letters are automatically converted to uppercase.

Similar Messages

  • Using Acrobat Standard 9  Adding Check Boxes

    Have been using AA Std 9 for some time and all of sudden I cannot use the add check boxes to forms with any accuracy.  It is not an issue with the mouse.  Have downloaded patches but still cannot add fields where they need to be.  Major impact on productivity!  Ideas?

    I do have Internet Explorer 9 and I was able to print web pages correctly following  your suggestions.
    Thanks for your help.
    Date: Sat, 12 Nov 2011 06:53:59 -0700
    From: [email protected]
    To: [email protected]
    Subject: Printing web page to pdf file using Acrobat Standard 9
        Re: Printing web page to pdf file using Acrobat Standard 9
        created by Bill@VT in Acrobat Windows - View the full discussion
    There were problems with IE9 on it's initial release and that may be what you are seeing if that is the browser (you did not indicate the browser and that may be a key). If you have a different browser you might try that one with the same pages to see if it browser related.
    By saying garbled it sounds like the fonts did not make it or you have selected "Use Local Fonts" in Acrobat. Try checking the latter first. Then check if the fonts are embedded in the PDF by checking the document properties (ctrl-D). If they are not, go back to the browser and select the press or print job options before printing and see if they get embedded and if your problem is resolved.
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4021509#4021509
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4021509#4021509. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Acrobat Windows by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Problems with text box borders, tabbing and saving doc in Acrobat Pro 7.1.0

    When I view my form document in Acrobat Reader, there is a red border around several text boxes
    in which I've selected 'NO border'
    Also, I've selected 'column order' for tabbing, but tabs continue to function in order in which I inserted form item (text box, check box or radial button). Since I didn't insert these consecutively, tabs no jump all around the form instead of proceeding in order from top to bottm and left to right.
    I've checked for Mac Acrobat Pro updates and see that there are three  - 7.1.1, 7.1.3, and 7.1.4, and am downloading them for install.
    Do any of the updates fix these problems? Or how can it be fixed?
    On opening document in Reader, I also get a message informing that document cannot be saved with changes and must be printed, even though I've created it with fillable forms.
    Is there some setting for allowing document to be saved?
    I want to be able to have recipient be able to download form, fill it out, save changes, attach to email and return it to me.

    This has been a problem since version 8 on the mac. Acrobat 7 on the mac worked fine with the right side trim but not on the PC.
    We are still having this problem with Acrobat 9.4.0 on the Mac & PC.
    This has now been an issue for 2 versions of Acrobat Pro.(8 & 9)
    Being in Pre Press and having to constantly set the trim for jobs, this is now taking up too much time and costing money.
    Please fix this Adobe.
    and on another note. how hard would it be to display the trim (if set) next to where the page size is?
    If the trim is set it should display it! why should we have to go to document/crop pages>trim.
    Im in a busy Pre Press Dept and the amount of times you have to check a trim size is stupid.
    I always set prefs to display crop / trim / and bleed boxes and this helps but it should display it if its set.
    Thanks
    Hope this is resolved soon.

  • Dynamic text box generation in jsp page by using net-ui jsp html tags

    Hi All,
    I Need to generate the "TextBoxes" Dynamically by using the "Net-UI HTML Tags".How can i do this ?
    I am using
    1. WebLogic portal server 8.1 sp4 (Workshop dev environment)
    2. JavaPageFlow Applications
    3. Net-UI tags html jsp
    I need to generate the textboxes dynamically and i have to
    get those values in the page flow .
    How it is possible by using the "Net-UI Tags".
    Thanks In Advance,
    KiranBabu.Karusala

    how we create dynemic text box in jsp based one value which we give at runtime

  • I have two pc, one with windows 7 professional and another with windows 8.1. I'm the only owner and user of both. One works with 32 bits and the other (windows 8.1) , 64 bits. Can I use acrobat standard XI in both pc's being the only usuary?

    Just in case. I have two pc's one with windows 7 professional (32 bits) and another with windows 8.1 (64 bits). Can I use, with one license, as I'm the owner and only user, acrobat standard XI?. Thank you in advance
    Francisco

    Yes, the license allows 2 installs for the owner's personal use. You can check this in the license agreement if you wish.

  • Text entered into a text box is visible only when the text box is selected (highlighted) How do I get the text in all the text boxes to show up?

    I use a Mac.  I sent out a pdf form for signatures to 6 recipients.  Two of the 6 forms came back and visually are perfect.  Signature and date fields show the signature on my screen and when printed.  The other 4 forms however only show the signatures/date text when I click on the individual field and the text does not appear when printed or on screen.

    Are the users using a Mac as well? If so, are they actually using Adobe Reader or are they using Mac Preview. If the latter, it will break the pdf form.
    Here's some info and a possible fix: Correcting PDF Form Field Appearances after Saving with Preview on the Mac

  • Using a Substitution Variable in a text box when the member isn't used in a grid

    Hi,
    I'm trying to create a footer in my report to display a substitution variable for the "Period" dimension. The Period dimension is not used in any of the rows or columns in my grid in my report in FR studio. It is left as a POV. I am trying to reference the substitution variable for CurrentMonth, which is independant of what the user selects for the Peiod POV.
    For example, the user runs the report and selects YearTotal for the Period dimension. I want to bring back the substitution variable of &CurrentMonth for Period even though it is not selected in the Grid for the report. Is there a way to do that?
    The workaround I am using is adding a second Grid and selecting the Substitution variable in the row and referencing the function from the second grid, which is hidden. This is bulky, and I'm hoping for a cleaner solution. The function I'm using from Grid 2 is below:
    <<MemberAlias("Grid2", 1, "Period")>>
    If I referenced Grid1 for Period, the function would display the user's POV selection, which is not what I want.
    Any help would be much appreciated. Thanks so much!!
    Tiffany

    Tiffany,
    I do the following which I think may fit you need:
    Add the "Period" dimension to the Columns section.
    Make the "Period" dimension the top most member of your column selections.
    Hide that row.
    Set the left most column to "Current Poinf of View for Period"
    Select "Same As Col A" (for example) for the remaining report columns.
    Add a column to the far right and use the &CurrentMonth substitution variable for the "Period" dimension. (The other dimensions in that column should be set, if possible, to retrieve as little data as possible.)
    Hide the new column.
    Change the function in the footer to <<MemberAlias(Grid1, A, "Period")>>
    This should allow your user to select their desired period without impacting the hidden column value of &CurrentMonth which will be displayed in your footer.
    Bill

  • Can a TOC be inserted into a text box in Pages?

    Good evening. I am part way into creating a first document in Pages. Things are going well, for the most part, though I admit there is a learning curve here.
    One problem I am encountering is getting a Table of Contents (TOC) to generate inside a text box. There is a specific effect I am trying to create that depends upon having that text box surrounding the TOC. Is it possible to generate the TOC within the text box?
    Alternatively, if it is not possible, is there a way to mimic a floating text box with embedded TOC in Pages using whatever standard method exists? I have tried using the plain old "Insert table of contents" menu item and the results are plain and ugly. Moreover, I don't seem to have much control over placement of the TOC, though I see how I can change some of the formatting.
    Any and all feedback is appreciated.
    Regards,
    Russell Collier
    ps: I am new to Macs in general, though I have extensive experience on Windows OS. I have a brand new Macbook Pro with Mtn Lion upgrade, and newly purchased Pages '09 software.

    Thanks for the advice. I have just re-posted this in Pages forum and will close this question now.
    I am deeply familiar with Word, myself, but wanted to try a new challenge. Pages has been highly recommended to me as a tool that can produce some quite beautiful documents. Re-doing my CV from its current, fairly conventional format to something much more graphic seemed like a nice creative outlet.
    Best,
    Russell

  • Dynamic text box, HTML Text with Image

    Hello Everyone,
    I am using Flash version 8. I have used the text tool and
    created a dynamic text box and have attached the UIScrollBar
    component to it. This text box is configured to allow the use of
    html text to be inputted to it. I have code that reads a file which
    contains a list of text files that I then read and place them into
    the text box. The user can use the scroll bar to scroll through all
    the text.
    I have created an image that is a picture of the tab portion
    of a file folder. On the tab I have place some text. This was all
    done in Photoshop. This tab image is used to separate the different
    stories in the text box. The image is save as a jpeg file
    Everything you have just read works with out any problems.
    Now for the problem!
    This image is only 20 pixels tall and the text is not very
    readable. As we all know the HTML tags are very limited in Flash 8.
    Ideally I would like to put the text and image in to the text
    box as I would normally do. Then place text on top of the image and
    have it all scroll properly with in the text box.
    I have taken the tab image and converted it in to a graph
    symbol and then put the text on top of the image. This looks good;
    however I don’t know how (or if it is even possible) to place
    the graphic symbol in to the text box at the correct place within
    the text.
    Does anyone have ideas on what may work? Remember that the
    image I am working with is only 20 pixels tall which is why the
    text quality on the image is so poor.
    Thank you all for any help you may provide,
    Steve

    Yes Tim I am using the <img> tag and I know that I
    can’t place text over the image. I have set the height and
    width to be the exact size of the image. However When you go to the
    webpage it will open the movie to the maximum size based on the
    resolution of your display; however I do maintain the aspect ratio
    of the movie. For testing I did set a fix size to the size of the
    movie. Sometimes the fix size (1000x750) looks better and sometimes
    a larger size (example 1280x1024). I believe that the main problem
    is the fact the size of the image is 670 pixels wide by 25 pixels
    high and of the 25 pixels the text is only 18 pixels tall. In
    Photoshop this makes it about a 1.75 point font. As you can see the
    real problem is that I don’t have enough pixels to make up
    the text. This is why I am looking for an alterative way to create
    the text.
    I tried importing the image into flash as a graphic symbol
    and then using the text tool to create the text. The results looked
    real sharp, the text was nice and crisp (just what I wanted). The
    problem is that I could not find a way to place the graphic symbol
    into the dynamic text area like id did using the <img> tag.
    This symbol needs to scroll as you scroll the text in the text
    area.
    This is why I am asking for help. I am looking for some ideas
    that may work.
    Thank you,
    Steve

  • Rich Text Box Issue - Expand to show all Text

    Hi everyone
    I'm having a pretty frustrating issue with the rich text box when viewing a line item (not when editing the item, but viewing the item)
    I want my rich text box to expand with the text, which I have changed in the options on InfoPath with the "Expand to show all text" scrolling option. However, in IE, the table row will expand, but the actual rich text box will not and I'll have
    a scroll bar there and you cant see all of the text at one time. If I look in Chrome, then it works the way I want and I can see all of the lines of text that were entered into the rich text box.
    The only solution for IE to work correctly is to change the Display settings to "Enable enhanced rich text content...". But the big issue with that is now you can no longer highlight the text (the highlight disappears right after highlighting it),
    and the users will need to copy text from the text box, so it renders the "enhanced" rich text box useless for us
    It's kind of a lose-lose situation that I'd love to find the solution for

    I guess a better solution would be how can you highlight text from an enhanced rich text box, because changing these to "rich text box" gets rid of font colors in the pre-existing data.
    The original problem was that they couldn't highlight text unless they went into edit mode

  • No text boxes in Training Simulation

    Hi!
    I have been using Captivate 4 since it came out (and C3) before that. I am using a Vista PC to record training simulations for an ERP-system. It worked fine until just before christmas but when I try to record a new project now I get no text boxes, just typing. I have all the settings correct (create text boxes...) but it just wont work. I can get it to work in a Outlook window but not for the ERP-system. There has been no upgrades for the ERP-system so I am using exactly the the same ERP-software as I did when the training simulations did create text boxes.
    The only updates on my PC is Adobe Reader. I noticed there was a problem with flash (when trying to view these forums) so I installed the latest flash component.
    Any suggestions?
    /Stefan Blom
    BSIP AB
    Sweden

    Hi Stefan
    Wow, that's a new one on us! Thanks for sharing what you found so that we can keep it in mind for future issues.
    Stay tuned for the Mac version of Captivate. It's going to arrive with the next version!
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Regarding F4 help for text box in screen painter

    i am passing 4 valus in data element values tab, it is passing correctly to the text box, if i am making the text box to ouput only then the values and button for pop up is not comming, what do i need to do if i need values for output only.

    Hi Rocky,
    I think u can try out this.
    make ur textbox both input and output field and in PBO write
    loop at screen.
    if screen-fieldname = 'TEXTBOX'.
    screen-input = 0.
    endif.
    endloop.
    Regards.

  • Copy paste of image on Custom Rich text box in SharePoint

    Hi,
    Rich Text Box:
    <SharePoint:InputFormTextBox ID="rftmytext" RichText="true" RichTextMode="FullHtml" runat="server"TextMode="MultiLine"Rows="5">
    </SharePoint:InputFormTextBox>
    When I copy paste Image tag  on rich text box its paste only html code not image.
    Image tag:<img alt="" src="http://sitename/Documents/directors-thumb.jpg">
    Requirement:
    when i copy paste Image tag need to convert design view means need to show Image. Provide some work around.

    copy and paste
    <img class="tile" id="Image15" src="sitename/Documents/directors-thumb-1.jpg"/>  tag on Rich text Box its showing on rich text box as it is but When i click on text editor backgroundly its converted into 
    <div>&lt;img class="tile" id="Image15" src="<a href='sitename/Documents/directors-thumb-1.jpg"/'>sitename/Documents/directors-thumb-1.jpg"/</a>&gt;</div>
    Using java script  
    function unescapeHTML(html) {
    escape.innerHTML = html;
    return escape.value;
    }Its possible to Remove unescape html but it did get how to practically achieve.referance: http://jsfiddle.net/Daniel_Hug/qPUEX/

  • Default gutter width for drawing text boxes for overset text

    I have master pages that were created with columns and the correct gutter width we want. When I drag a story from a window (a window that is part of our CMS) and place it on the page, the gutters between the text columns are correct -- p9 (or 0.125 inches). But if I draw a new text box or if I click the red plus to draw a text box for overset text, the gutter is a full pica (or 0.1667 inches).
    I want any text box that is drawn on the page or any overset text box that is drawn to default to p9 for gutters.
    I don't want to manually change the gutter for every new text box I draw.
    I'm using ID with CS4.
    Thank you.

    The default gutter in a multi-column frame is set in the object style under Text Frame General Options. If you haven't defined any new styles you only need to edit the [Basic Text Frame] style. New frames will use the new gutter value when you add columns. If you have object styles for other text frames, you'll need to edit those, too. For existing frames, if the number of columns has been changed manually, you will need to reset the gutter.

  • Delay when moving text boxes or graphics?

    I have recently installed CS5 and am having trouble with editing/designing in In Design.  I have a 2-page document, 1 with a lot of text and graphics and the other with just a few text boxes and images.  Moving items using the arrow keys on my keyboard has not been a problem in previous versions of ID, but now there is a significant delay in when I push the arrow key and when the text box or image moves, but only on one of these two pages.  Any idea how to fix this or what is causing this problem?  Am I the only one having this experience?  I've searched online and already tried changing the interface preference to every possible option but that doesn't work.  Someone help me please! 

    First of all, this belongs in the InDesign forum, not here.
    Setting the Live Screen Drawing preference to delayed seems to be helping others with the same problem.
    Please post any followups to the InDesign forum.
    Bob

Maybe you are looking for