Display the percentage symbol in the form field

Hello

I was hoping that someone could help with 2 questions of scripts:

(1) I would like to have a form field include a % sign after someone entered a number.  I tried to use the value of percentage format, but it automatically multiples of 100, I don't want to do.  If someone entered '20', I'd just like it appears as '20% '.

(2) I have a form field where I would like a name of ToolTip to display in the field, then it is clear that they have to enter without them having to mouseover - I would like to say 'Name here', but then disapper when they enter the copy.

I am a total newbie (if it was not obvious!) and really appreciate any help you can offer.

Thank you!
Amy

For the custom script of hitting, you add a JavaScript to the document level which includes the following function:

// Document-level function
function DigOnlyKS() {

    // Get all that is currently in the field
    var val = AFMergeChange(event);

    // Reject entry if anything but digits
    event.rc = AFExactMatch(/\d*/, val);
}

To add a new JavaScript at the level of the document in Acrobat 9, select: Advanced > Document Processing > Document JavaScript...

and enter a new (e.g., keystrokes), click Add, delete the empty function it provides by default and enter the code shown above.

Then, you would call this function like this as a custom script of hit of the field:

// Custom Keystroke script
DigOnlyKS();

This for any other field you want to behave this way. Include the Custom Format script shown earlier as well.

Tags: Acrobat

Similar Questions

  • How can I change the font in the form fields to fill

    I have already set the fields of a font, but want to change after I test filled in the fields of text in preview mode. but now when I highlight the fields and select properties and select a different font and size, it shows the new selection of fonts but the fields will not change what has already been entered. I tried to change the field and delete the text and Fain same original font type and size is still there

    Hello.

    I guess that these areas use the option 'allow formatting of the rich text.

    Thus, it is not Properties: aspect which resulted in implementing in the form of text, thetext in the form field"' bar (CTRL-E or CMD-E).

    Uncheck the option 'Allow rich text formatting' to return to this behavior.

  • All the form fields do not paste from one file to another

    I use Adobe Acrobat DC on OS 10.10.3.

    I have a .pdf file containing form fields set up on what I want to use it as a 'model '.

    One machine I can copy the form fields and put in a new .pdf file and it works fine, but on any other machine, I tried it on it is not. On the other machines when I copy the fields of the form about 75 percent of stick them in the new .pdf.

    Is there a setting/preference on what I should check or would be - something else causing this problem?

    Thank you very much for the help.

    Replacing the old pages with the new in Acrobat is the standard way to do what you want. The fields of forms, links, code, bookmarks, comments, page/document, metadata, etc. are preserved.

  • I downloaded the latest version, but the form page tells me to download the latest version and does not display the form

    I downloaded the latest version, but the form page tells me to download the latest version and does not display the form!

    Ok. Chrome has stopped supporting the player plug-in (for now). You'll want to download the forms by placing the cursor on the link, right click and check-in at your computer. Alternatively, you can try another browser such as Internet Explorer.

  • Adjust the text in the form field

    How do you shrink to fit the text in the form field when you fill in a document?

    I use reader XI.

    This document is a form of Government and a protection on it, if it's important.

    It is mainly for the purpose of printing and using the paper document. When you print from the field cut the text and it is impossible to read the entirty of the field.

    Thank you

    Hello jjcola

    You can do that with the Reader. You need Acrobat, please try the free trial http://www.adobe.com/in/products/acrobat.html

    ~ Deepak

  • Forms to fill out and Distribution: to flatten author text but not the form fields

    OK people, first time posting on this forum, but certainly not my first time looking for answers!  I was quite managed with other issues if I think I myself stumped on this one.

    I created the form fillable 'generic' I'm going to use to distribute to various contacts for some upcoming projects that we will participate in.  Because each project will be different, instead of having to create a new form every time, I hope that with my base model form I can enter various information with the type writing tool and somehow to protect this information to be edit/delete while allowing my contacts to enter their information in the form fields.

    I tried to apply the different variants of security features, but the downside of this is that it does not "distribute" my form so that it can be track with Adobe Tracker.  The only way I can successfully distribute this form for the masses and track responses is if all the security settings of the document are disabled.

    I hope that this logic all how I explain it.  Because the information (not the form fields) on the document sent to the changes each week, I was hoping there would be one easier way other than creating a form to complete for each new.  I'm not an expert of Actions, but it would be possible to create an Action that would "flatten" the text of the type writer only?  That would at least prevent third parties to manipulate or remove information that I placed on the document.

    This free tool based on JavaScript for Acrobat is what you need: http://www.uvsar.com/projects/acrobat/flattener/

    The typewriter tool creates a type of text box, so that you would select just this box to flatten.

  • Text shrinks in the form field. Help, please!

    How can I get the text in the form field to not not afraid? (Be as specific as possible because I'm still learning Acrobat Pro)

    Using the selection object, right-click on the field, tool select Properties,

    go to the appearance, and you'll see it there.

  • Text is not in the form field

    I created a form in Acrobat 9 Pro and received this comment from one of the users form:

    «The text in the form field does not show you what you type in until you move to the next field.» If you feel as if nothing is being filled. »

    I am not able to reproduce this behavior. Is there a setting of preference or other setting that would cause this behavior?

    In what application they opened the file? He was seen Apple, by some

    lucky?

  • StructCount bug when deleting a key of the FORM field

    Help, please.  I can't understand what I'm doing wrong.

    When I try to remove a key from the FORM field, the StructCount to the extent of the FORM remains unchanged, even if the key doesn't seem to be within the scope of the FORM any longer.  This is not the case when I create a struct in the scope of VARIABLES.  I enclose the code I used to test this.

    Is this a bug with ColdFusion?  Is there a fix / patch for this?  I use Coldfusion Enterprise version 8,0,0,176276.

    Unfortunately, I don't think you can avoid it as it seems to be a problem with the underlying FormScope class.  You could wrap your alternative 'counting' code in a cffunction.  Which would keep at least the logic in one place:

  • display the form without exploring

    I use the generator of forms 10g.

    I want to display the form without exploring.

    Is this possible?

    Thank you.

    Start your application using Java Web Start.

    [Java Web Start | http://www.bloggingaboutjava.org/2007/04/running-oracle-webforms-like-a-client-server-application/]

    It is not supported by Oracle, but it works well and looks good.

  • Display the text on the form field is yellow background

    I am frustraited - I created forms to collect data and sometimes the text fields with a light background yellow, and sometimes they don't, though the properties are the same. Can someone explain this to me?

    Google Tools installed?

    --
    Murray - ICQ 71997575
    Adobe Community Expert
    (If you * MUST * write me, don't don't LAUGH when you do!)
    ==================
    http://www.projectseven.com/go - DW FAQs, tutorials & resources
    http://www.dwfaq.com - DW FAQs, tutorials & resources
    ==================

    "mmoremen" wrote in message
    News:ful67l$POH$1@forums. Macromedia.com...
    > I am frustraited - I created forms of data collection and
    > sometimes
    > the text fields display with a yellow background, and sometimes they are not.
    > even
    > well properties are the same. Can someone explain this to me?
    >

  • How to display data in an interactive report on the form field?

    Hello

    I've created an interactive report with its form (goal to create and edit).
    Then, I created a new project with its early date and email id that is assigned to the project.
    When I clicked on the edit button, it opens the edit form and displays the same date, I entered but email id is not displayed.
    Instead, it shows the default value of the e-mail ID LOV, which is "- select Email ID -"
    How can I view the identification of email that I entered?

    Thank you
    Guy

    Hello Guy,.

    To discuss your design: why not store the PM_PERSON ID in the PROJECT table? Now, you store addresses several times (in PM_PERSON and in many PROJECT files), what happens if the email address change... (purely hypothetical, of course)...
    And create a foreign key between the PROJECTS and PM_PERSON also...

    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this response in marking it as useful or Correct ;-)

  • Do not print the form fields

    I received a pdf with form fields filled in but are all highlighted in blue and I can't see the entry of text into a field at a time by clicking on the blue highlight. I want to print all the fields, but it does not appear any other. If I click on another his text is displayed, but the previous returns to the blue box!

    This form has been completed and damaged with Apple Preview.

  • How to bind the form field in two pdf documents

    Is there a way to link two form fields. 1 document allows the reader to enter the text in the field. However, I would like any document 2 to display the text as well. Is this possible?  Please notify.

    Hi lysaj85192398,

    There is no direct function that can perform this task. But I'm sure you can do this with JavaScript.

    Take a look at this: transfer to another PDF form fields?

    Thank you

    Abhishek

  • JavaScript to adjust the font size for the form field number of characters?

    I have a form field that asks you 'full name' (first of all, middle, modified). Big, it is displayed in the upper part of the form. Some names are short and long.

    Is there a way of javascript to adjust the font size used in a form field based on the number of characters entered in the field?

    that is, if the name entered is Joe Smith, the font size is 30pt, if it's Alexander Hamilton font size is 20pt?

    Thank you!

    In general, I agree, but the Acrobat help section contains a lot of information. This specific bit of information you will find in this page: https://helpx.adobe.com/acrobat/using/pdf-form-field-properties.html#pdf_form_field_proper links

Maybe you are looking for

  • Content Flash does not play in Firefox

    PROBLEM:Videos and hung in Firefox Flash content. The screen is gray and the twirling circle is frozen. It is a recent issue; This behavior is new and we don't know what has changed in my system.1. the problem does not occur with I.E.2 Win8, Firefox

  • Unable to connect to the internet, in vista h.p.. /.

    Unable to connect to the net in vista h.p./tried reset cable motem [unplug and reconnect] / I tried to disable and re activate device Man. / Properties show peripheral works properly or not a cable/same question do you have a complete op sys. reinsta

  • I have a new laptop and I can not install oovoo to it, can someone help me?

    ???? I have a new laptop and I can not install oovoo to it, can someone help me?

  • Favorite FTP on SRA Firmware 8.0.0.0 - 14sv

    I just applied firmware 8.0.0.0 - 14sv to our SRA-4600 unit, and most of the time that's all works perfectly.  The HTML5 improvements are much appreciated!  (I'm hoping to be able to completely abandon Java soon).  However, I have noticed a little pr

  • 'original!' activation key Windows 7 does not work on Mac!

    Dear all, I recently bought a Mac, and I was hoping to use my original windows 7 Home Edition I used before on my pc in the House.Unfortunately I get messages from Security Center,... .saying my windows could not be activated, I have to type a differ