Need to format a form field to add a "%" after the number

I am working on a form that will both print for manual fill-in and also electronic fill-in using reader. My issue  is that I need to
add a "%" symbol after the number input by the user. I can't use the percentage format type because that places a 0.0% in the field
when no data is entered and I can't have that due to the need to be able to print a blank form for manual fill-in. Is there a simpl
e way to append the % character after the user input only if data is in fact input and to leave the field empty otherwise?

I assume you only want the user to input numbers and you've then set the format to number.
In the textfield properties go to the format tab and set it to custom.
Enter a custom keystroke script:
if(!event.willCommit)
var nChars = event.selEnd - event.selStart;
var aFull = event.value.split("");
aFull.splice(event.selStart, nChars, event.change);
var strFull = aFull.join("");
event.rc = !isNaN(strFull);
This will allow user to input numbers only - strings are regarded as user type.
Go to the validation tab and enter a custom validation script:
f = event.value;
if(f) {
    event.value = f + " %";
If I understood your question correctly, that should do the trick.
Torben.

Similar Messages

  • Format of Date field is loading wrongly in the Infocube 0pp_c01.

    Hi,
    Format of Date field is loading wrongly in the Infocube 0pp_c01. But it is loading properly into PSA.
    I am loading data into PP infocubes from the following DataSources.(they all are 3.x datasources)
    1. 2LIS_04_P_MATNR
    2. 2LIS_04_P_ARBPL
    3. 2LIS_04_P_COMP
    The data is coming properly upto PSA.  For example Actual Start date is loaded in cube like 733.884.
    And, it is the same issue with all the cubes. So I checked the update rules. But, in it the mapping is done properly.
    Thanks $ Regards
    Shyne Sasimohanan
    +91-9632674245

    Hi,
    HEre also value is loaded correctly. The reason u are seeing it in this format is because it is mapped into a key figure in the info cube.
    It will store the value as number of days from a standard date like 1/1/1000 or 1/1/1900 - not sure which one of these, u should be able to search and find the correct date in the forums..but this is the logic behind it
    Hope it helps.
    Regards,
    Rathy

  • In the middle of creating a book in aperture I need more photos. How can I add them to the browser at this stage?

    In the middle of creating a book in Aperture I need more photos. How can I add them to the browser at this stage?

    In the middle of creating a book in Aperture I need more photos. How can I add them to the browser at this stage?
    You can add more images to your book, by dragging them from the browser to your book album. Switch to the Library Inspector, select the album or project with the images in the source list, and then drag these images onto the book icon. That will add them to the book album, and then double click the book album again to continue working with the book.
    Regards
    Léonie

  • Add menu after the plug-in has started

    Hello,
    I want to added a menu under 'File' menu after the plug-in has started.
    Through the shell example in SDK, i am able to add menus on plug-in startup but cant figure out how to add menus after the plug-in has started.
    Is it possible to do so? If yes, then how to do it?
    Thanks,
    Hitesh

    The suites should be the same, namely AIMenu.h's AIMenuSuite. The calls are fairly self-explanatory I think, though if you have questions fire away & hopefully I can help.
    The only thing that might be tricky is that it wants a reference to your plugin. Typically you'd do that in response to a selector/caller combination that included a message -- the message always has such a reference. If that's the only thing you're missing, the simple answer is to grab that from one of the early messages and stow it in a static variable somewhere so you can use it later; it won't change, so that's perfectly acceptable.

  • Cannot re enable the add ons after the new 13.0.1 update ,it shows no update available and all the add-ons are disabled

    cannot re enable the add ons after the new 13.0.1 update ,it shows no update available and all the add-ons are disabled

    I have the same problem. One minute everything was okay, the next minute all my addons were disabled.
    Adobe Acrobat 10.1.3.23
    AVG Site Safety Plugin 11.1.0.4
    Google Update 1.3.21.115
    Java Deployment Toolkit 7.0.50.255 10.5.1.255
    Java Platform SE 7 U5 10.5.1.255
    Shockwave Flash 11.3.300.265
    VLC Web Plugin 2.0.2.0
    Windows Presentation Foundation 3.5.30739.1
    I can reenable them but FF will disable them on the next startup. I uninstalled version 13 and installed version 12. Problem gone! So I'm still using version 12 and am afraid to update to version 13.
    This problem began when I was trying to research and fix a problem (no history all-of-a-sudden) so it probably was something I caused. Can't recall everything I did though.
    So: Does the addon problem I described have a solution? If so, I'll update my version 12 to version 13. Please respond.....

  • Need Help with Custom Form Field Backgrounds

    I'm tryng to add a custom background image to a file upload
    field in a form and it is not displaying correctly in Firefox. Is
    there a way to do this? The background shows up fine in other
    fields just not in the field that I apply ( type="file" ) to.
    Here is a sample of the page:
    BroBraBlahBlah Test
    site

    Background images in form fields are not reliable....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "PieEyed" <[email protected]> wrote in
    message
    news:enefqt$80g$[email protected]..
    > I'm tryng to add a custom background image to a file
    upload field in a
    > form and
    > it is not displaying correctly in Firefox. Is there a
    way to do this? The
    > background shows up fine in other fields just not in the
    field that I
    > apply (
    > type="file" ) to.
    >
    >
    Here is a sample of the page:
    http://www.brobrablahblah.com/test
    >

  • Editing Form Fields inside Acrobat? (after using LiveCycle Designer)

    Adobe Acrobat 9 Pro Extended ==  Acrobat
    LiveCycle Designer ES 8.2 == LiveCycle Designer
    =========================================
    Say I downloaded a new PDF from the interwebs.
    I want to add some forms fields so I go to Forms ==> Add or Edit Fields... (inside Acrobat)
    Now Acrobat will detect possible places where to add the form fields. I make changes etc. Then I am  satisfied with my form fields.
    Now say I want to remove a particular object from the PDF, lets take an image as an example.
    So I fire up  LiveCycle Designer; File ==> New ==> Import a PDF document ==>  Create an Interactive Form with a Flowable Layout.
    I remove that pesky little object.
    In LiveCycle Designer, I save the file as PDF.
    I open up Acrobat. I realize I need to make some more changes to some of the Form  Fields.
    But now instead of "Add or Edit Fields..." option I get "Edit Form in  Designer..."
    I hate the GUI of LiveCycle Designer --- I had rather edit the form  fields from inside Acrobat, as it is easy and fast to change multiple  form fields in a few clicks.

    Thank you Niall for the above response; Your response gave me an idea which allowed me to remove that line by zooming in to 200%
    You know Acrobat detects Form Fields for you.
    But many times it makes mistakes, for example in the screenshot below it made the boxes that came with the PDF as text fields instead of check boxes.
    The thing is rather than me delete the (form) fields it detected, and start over by making new check boxes, I will not be able to place my new check box in exact locations as Acrobat has done.
    When I imported the fields that Acrobat made into LC (by saving the PDF in Acrobat and then opening it with LC) I get option to change the Object Type from Text Field to Check Box when I right click the object.
    Is there a similar way to change the Object Type from Text Field to Check Box inside Acrobat? Any suggestions?
    ===========
    I would really like to do it inside Acrobat because then if I have to make some minor changes to some field properties, all my hard work which I did by filling the fields gets deleted, as I am forced to use LC. The text I add to the fields don't get deleted when I edit the field properties inside Acrobat. I don't know why LC decides to delete all the text which is filled out in the form fields even though the PDF is saved in Acrobat before being imported into LC?
    Here is the above PDF file with the text boxes:
    http://www.mediafire.com/?lnn32jm5am5
    Again thanks for all your guidance so far.

  • When formatting a date field in a where clause the template put dot instead of comma

    Hello to Headstart Workers !
    In a query find block the template construct a where clause, in some cases, and i dont know when the template is formatting a date field putting a dot instead of a comma.
    Ex.: to_date('19-01-2001'.'DD-MM-YYYY')
    Anybody knows why or where the template do this.
    Congratulations
    Nelson

    - We created it using the HS utilities.
    - "nls_numeric_character = ,.".
    - it onky happen when the field date is not the first field in the where clause.
    - i can see the problem just after pressing find button, already in the ls_block in last_query.
    - the find_query works normally but cannot edit any line in ls_block.
    Hope that i had helping
    Regards
    Nelson
    null

  • HT5656 This is all great but for me the "IPv6 Delegated Prefix" field never sticks. After the reboot to apply the settings, it is empty again. I have tried the 6.2 Airport Utility on OS X 10.8.2 and the iOS Airport Utility. Any ideas?

    Hi All,
       I had a working IPv6 tunnel with my Airport Express to tunnelbroker.net using the 7.6.1 firmware.  After updating to 7.6.3, I have tried many things to get it to work and the only one that works is downgrading from 7.6.3 back to 7.6.1.  After seeing this new technical note, it appears that the root of my issue is that I can not get the "IPv6 Delegated Prefix" field to stick - it is always empty after the reboot to apply the settings.
       Any ideas?
         Thanks,
           CraigN

    I'm in the same boat with a 3rd Gen AEBS.  Only thing I haven't tried is a complete reset and reconfiguration from nothing, which I may wind up doing this afternoon just to rule it out.  The best irony of all of this is that tunnelbroker.net is under my responsibility, and I can't validate the new settings paradigm.  At least getting back to 7.6.1 is easy enough and everything works fine there.
    IPv6 Delegated prefix doesn't get saved when using the format from their example, then a 6to4 address shows up as the local address on the main Internet page, and no RAs are received once the AEBS comes back from a reload.  Something's a little off on this release.

  • Format Date Form Field in Adobe Acrobat Pro

    Thanks in advance for your help. I have date fields in an Acrobat form. Is it possible to create a script to format a date as either MM/DD/YYYY or MM/DD/YY? In other words, if someone enters MM/DD/YYYY, the date would be accepted and MM/DD/YY would also be accepted. Thanks, again.

    Since the time measurement is based on a sattilite revolving around another object in space, much of the concepts and measurements apply to rocket science. But I do not know if all rocket scientist woudl get it. Wasn't there a sattilite that mixed miles and kilometers within the navigation program with a suprising result.
    One needs to get to a common unit and then just do the math.
    Actually JavaScript does have an adjustment for the Date.getYear if the date object is established with the 4 digit year.
    I had a recent issue at work. I work from the U.S and have to access data on a server in the UK using Remote Desktop and the remote deskto is configured for the UK date format unless the user changes it. In prior years the data was processed on servers in the U.S. with U.S. date format. There were many instances when the date and month were swithed and requires over a month to fix. Thank you Microsoft Certified Network Administrators.

  • Form field to add pages to document

    I work for a power utility and we recently digitized our permit process for cable and telephone companies to attach to us. The permit is per pole so when they send us a new job it may have anywhere from 1-150 poles which are each separate permits. Is it possible to add a combo box field on the first page where they can select how many poles they will have and the whole document opens to 1 to however many permits they need. Currently what we have is the same permit on 50 pages but if they need less they don't fill in all the pages and if they have more they must fill out the document multiple times.
    If this isn't possible does anyone have any other suggestions for this? Each permit looks the same but needs to be done for each pole so ideally we would want a selection on the first page that they can enter they need 30 permits and it adds 29 more pages of the same first page to work with.
    Any suggestions would be helpful, we need a new method! By the way, the companies filling in the permits will only have the free license for adobe reader, not standard or pro.

    Well seeing as the Reader 11 should be a free update then I can just ask our cable or telephone companies to use the current version so that shouldn't be a problem.
    I've honestly just started using Adobe Standard, version 9, within the past two days so I am very new to all of this. I was able to build the whole pdf with the different inputs but I've never done a template before. If you know of a forum or anything that will help I can use that if you don't want to try to explain it all to me. Also, the permit has nothing of importance on it so if it helps for me to share it somehow I can do that.
    Seems like I'm on the right track!
    Thank you!

  • Need help with adding form fields to PDF created in InDesign that includes links

    I created a collateral piece in InDesignCC that includes hyperlinks and bookmarks - I then used LiveCycle to add an image field and text field to the front cover so our sales folks can customize it before use - the sales people with Reader can't save it without the hyperlinks and bookmarks being lost. Anyone have an option on how to fix that?

    No.  Not at all.  I feel like I have clicked EVERYTHING.  Lol.  But obviously I have missed something.

  • How do I make a form field validate that it is the sum of two other fields?

    Hi there,
    I am creating a form, and I would like one of the fields to validate by making sure that this field is the sum of two other fields in the form.  Does anyone have any ideas on how to go about this?  I know I'll need to run a custom validation script, but I'm not sure where to begin - I've never done one for validation before.
    Thanks for any help!

    OK, here's a sample script that I hope will clearly demonstrate the general approach. It is intended to be the custom Validate script of the field that the user enters that value that is supposed to be equal to the sum of the two others.
    // Custom Validate script
    (function () {
        // Get the value that the user entered
        var sVal = event.value;
        // If it is blank, do nothing else
        if (!sVal) {
            return;
        // Convert string to a number
        nVal = +sVal;
        // Get the values of the fields, as numbers
        var v1 = +getField("text1").value;
        var v2 = +getField("text2").value;
        // Add them together, rounding to two decimal places, converting to number
        var sum = +util.printf("%.2f", v1 + v2);
        // Compare entered value to the sum of the other two fields
        // Alter the user if they do not match
        if (nVal !== sum) {
            app.alert("The value you entered does not equal the sum of text1 and text2. Please correct.", 3);
            // If you want the entered value rejected, include the following
            event.rc = false;
    Replace "text1" and "text2" with the actual field names.

  • I need to design a form that can accept images from the responder. Can this be done?

    I'm designing an award application/submission form, and the respondent will need to include photos in the application. Is this possible in Adobe FormsCentral?

    We've just added support for uploading files in our latest release (12/5/2011). You can read more about the feature here:
    http://forums.adobe.com/thread/934728
    Please try it out and give us your feedback.
    Randy

  • Trying to use Imovie to create a movie using a Mac OSX 10.6.7, 3.2 g Intel core. Using clips from my Sony CRX 150 and need to remove sound in order to add music to the movie. HEELLLP!

    OK, I 'm attempting my first movie here using this Mac OSX Snow Leopard with IMovie. I have clips I created from an 8mm Movie projector copied on my Sony CRX 150 and the sound of the projector is all over these clips and I have no idea how to remove that before adding music. So far this has been great and this is my first bump in the road. Also I notice tho, that the icon for my camcorder has disappeared from the desktop and looks like I'm gonna have trouble "ejecting" it in order to shut things down!!!  HELLLLP!

    Thanks. I tested it out and you were correct. I loaded 2 .dv movies from my external HD back onto my internal HD, and got them re-imported into iMovie, took a few short clips from each of the 2 iMovie events and pasted them into a new project in the Project Browser. Then I deleted these 2  "source clips" from my internal HD, closed iMovie and then re-opened it and found that iMovie would NOT export the smaller clips for a "highlights" .4mv movie without the "source clips" being available.
    I read your link on Quicktime. It talks about mostly trimming, which is what I did with each iMovie event before I took each one as a project to export as a smaller .4mv file. But if I use Quicktime (do I need QT Pro or basic), what advantage is it to me to use QT over iMovie (I must admit I am a novice at iMovie and have never used QT or QT Pro as a tool)? Will it then convert any edits I make to a .m4v movie or do I need iMovie to do that?
    Does QT allow trimming multiple segments out of a movie during one edit session, or can you only do 1 at a time? By that I mean that, for example, when I use Sonys Picture Motion Browser for my .mts movies, you can only set one Start and one End point for each edit/trim you do: it does not allow you to set multiple Start Stop points like iMovie allows in its Event or Project browser. You can only do one "trim" at a time, save it and then reopen to do another trim. not very useful.

Maybe you are looking for