Anyone use acrobat 9 to set form fields that auto center?

I am trying to set form fields for a form and am having trouble.  The input needs to go all the way to the left when done but spaced evenly ovver a set area.  This is confusing I know/  I have attached (2) samples.  # 1 is the way I want to be able to fill the form.  And # 2 is the form I am trying to set up.  Any help would be amazing.

I think I have a working solution now, but for one problem.
I have my remote page
<!-- Start APP Area -->
<center>
<iframe name="appFrame" id="appFrame" width="860" height="600" src="http://serverx/register.asp" onload="setEmail();" >
</iframe></center>
<!-- End APP Area -->and my Javascript function in the page header
<script type="text/javascript">
function setEmail() {
  var emailVal = document.getElementById("P88_EMAIL").value;
  alert("Email: "+emailVal);
  var iframeElem = parent.document.getElementById("appFrame");
  iframeElem.contentDocument.getElementById('eAdr').value = emailVal; // error here
  alert("Email set?");
</script>Problem now is that I get a access denied message from the remote server. This is might be to prevent some cross site scripting. Because the ApexServer tries to access methods on the remote server.
Fehler: <http://apexServer> wurde die Erlaubnis für das Lesen der Eigenschaft HTMLDocument.getElementById von <http://serverx> verweigert.
Translated
Error: <http://apexServer> does not have the permission to read the attribute HTMLDocument.getElementById of <http://serverx>.
So I will have to talk with some sysadmins to see if they can add some exceptions to the firewall rules. Not sure which rules excactly prevent this, but there should be a way to circumvent the error.
Or does anyone have a different idea how to solve this?
Edited by: Sven W. on Aug 6, 2010 10:17 AM

Similar Messages

  • I paid for exportpdf and everytime i try to use tool on pdf, it asks me to subscribe. i have to log into website EVERY time. not acceptable.  how can i export only form fields that were filled in?

    i paid for exportpdf and every time i try to use tool on pdf, it asks me to subscribe. i have to log into website EVERY time. not acceptable. Some forms can't be saved so having to log in and only use webtool to upload a saved pdf won't work.
    as well, how can i export only form fields that were filled in if I can get pdf to save to computer?

    Hi kstine,
    I can see why that would be frustrating! Have you tried selecting Stayed Signed In underneath the Adobe ID and Password boxes when you try to log in?
    What did you use to create the PDF form? If you used FormsCentral, form data is saved to your online FormsCentral account. If you have Acrobat, you can export form data as described  here: Adobe Acrobat X Pro * Manage form data files
    Best,
    Sara

  • Firefox 7 is forcing me to fill out a form field that isn't required. I've used FF on this site for years but when I upgraded to FF7 it no longer works. IE it works fine.

    Firefox 7 is forcing me to fill out a form field that isn't required. I've used FF on this site for years but when I upgraded to FF7 it no longer works. IE it works fine.

    It's our internal applicant tracking systems (resume database). It works fine in IE and all previous verisons of FF but in FF 7 a bubble icon pops up stating that "Please fill out this field".
    The field is not required but states "Require all of these words" if you to run a search based on those parameters.

  • What is the registry key in Adobe Acrobat v9 which turns the dialog off: any form fields that have the same name in the merged documents are now...

    what is the registry key in Adobe Acrobat v9 which turns the dialog off: any form fields that have the same name in the merged documents are now...

    There is no key because that is an important dialog.  Why would you want it to go away?

  • I have set form fields as User required and yet the form still prints/save when empty.

    I have set form fields as User required and yet the form still prints/save when empty. I also have an email button on the form but that works correctly by not allowing the user to email the form with the required fields empty.
    What script do I need to additionally restrict both printing and saving if the required fields are empty?
     You would think that just setting that option would restrict those functions the same as it does for the email button. 
    Please be specific with your response if you are gracious enough to offer one. I have been searching the forum all morning for the answer to this and I really didn't understand any of the solutions offered to others enough to use those in my own form.
    The required fields are:
    Social (social security number)
    Name
    Headquarters
    Residence
    The next question I have is if there is a way to make individual signature fields mandatory if they are digital signatures?
     In other words, I don't want the individual to be able to email the form to the next person if he/she hasn't applied their digital signature.

    Saving can always be done, even when mandatory fields are empty.  This is by design.  And that is correct.  Suppose you have a big form and 2 people need to fill it out.  How can you fill out a first part and then send it to the second person without saving.
    Same for printing.  Same for your signature fields.
    What I would do, is to put a "watermark" on the form that you show on preSave and prePrint if the form is incomplete.  Just a static text on your form.  Then the user will see that they need to do more.  Also, on preSave and prePrint, you can show a warning popup to tell the user about the missing fields.  You can then still cancel their action if the user decides not to save/print anyway.

  • Acrobat Pro 8, Form Field Sizes - HELP!

    Sometime within the past week, Acrobat has gone NUTS.
    I used to be able to create text fields of just about any size. I had not updated recently or done anything to alter my installation.
    Now, when I go add a form field, namely a text field, it automatically creates one much larger than I want. If I try to re-size it, I can only make it bigger. If I attempt to decrease the size of it, it disappears! I'm not talking font, I'm talking FIELD.
    Since I noticed this, I downloaded the latest update, rebooted about 12 times and then had Adobe repair the installation, thinking it was some other issue. No dice.
    I cannot stand this! I like using form fields as opposed to text boxes and want it to just work the way it used to work. I use this feature DAILY and right now I'm about at my wits-end.
    ANY ideas would be GREATLY appreciated!
    Thank you!

    I figured out my issue. For those who wanted to say it, please feel free. I AM AN IDIOT! I had somehow clicked SNAP TO GRID under the view menu. It is just odd because in all of the years I've used Acrobat, I've NEVER had that happen!

  • How to make Acrobat Pro 7 form fields same size

    I can manually enter form fields in my version of Acrobat Pro 7 but I have to hand draw them.  is there a good way to make them all the same height?  I know that if I copy the form field that I draw, it will link itself to whatever form field I copied it from.
    TIA

    The best way is to copy & paste the fields, and then rename them so that
    they are no longer "linked".
    If you have many such fields to rename, you might want to consider this
    tool, developed by me:
    http://try67.blogspot.com/2010/10/acrobat-convert-duplicated-fields-to.html

  • How to set a field that automatically generates a unique 'code'/'ID'  for fillable PDF form?

    Hi,
    I'm trying to create a PDF fillable form with Acrobat X Pro.
    Can Acrobat allow a function, so that it can automatically generate a 'number'/'code' which I could use as an 'identifier'?
    eg.  A hidden field named:  'DOC ID' and provide 100001 when added to response file as it's submitted and '100002' to another file when it another is submitted/added onto the response file etc...
    I am aware that Response files, if submitted correctly, could automatically generate numbers like 001, 002 etc...
    But I'd like to see if I could create a field, that 'numbers' the document for me automatically and uniquely.
    Any help and/or suggestions would be appreciated.
    Winnie

    Hi,
    to do this you need kind of interactivity in your form.
    You can achieve this either by:
    1) using JavaScript onchange-events on forename and surname items, or
    2) use the AJAX Computations option of ApexLib, see: http://www.oracle-and-apex.com/ajax-computations-rich-client-feeling/
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com

  • Setting form fields to required not working in Adobe Acrobat XI Pro

    This should be a simple matter. However, I'm stuck in a rut with it, and cannot seem to get out.
    I have created a form. All I need is for users to be prompted that they have to complete the form field when they try to tab or click out of that particular field where there needs to be information input. I have tried the following "on blur" java script code:
    if (!event.value) {
        app.alert("This field is required. Please enter a value.");
        event.target.setFocus();
    What continues to happen is when the user clicks out of that field, the error message comes up asking them to click "okay." The problem is that the error message does not go away after the user clicks it.
    What I've learned is that if you right click on a field and click "set as required field," it doesn't work in the way I need it to. In fact, it hasn't been working at all for me.
    Does anyone have a simple suggestion? I more than willing to try anything at this point.

    OK, so the custom calculate script for field B could be something like:
    (function () {
        // Get field values as strings
        var sA = getField("A").valueAsString;
        var sC = getField("C").valueAsString;
        var sD = getField("D").valueAsString;
        // Only perform the calculation if all fields are filled
        if (sA && sC && sD) {
            var sum = +sC + sD;
            event.value = sum;
            // Alert the user if the sum is more than A
            if (sum > +sA) {
                app.alert("Error message goes here");
        } else {
            // Blank this field if all fields are not filled in
            event.value = "";
    Instead of (or in addition to) an app.alert popup, you could place this message in a read-only form field, and clear it if there is no error condition.

  • Acrobat form field that allows Reader user to browse and insert a picture into a predefined area

    Is there a way to do insert a form field into an AcroForm that allow Reader users to browse and insert a picture into that form field?
    I know that LiveCycle can do this, but I need to do this using an AcroForm. Or maybe there's a third-party plug-in that can be used in an AcroForm to do this?

    Jay,
    The new version of Reader, which was announced today (see AcrobatUsers.com), will now allow you to use the field.buttonImportIcon method: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.737.html
    For a bit more information, see: http://forums.adobe.com/thread/743823
    Here's the minimum code that can be used in the Mouse Up event of a button that's configured with a layout that's something other than "Label only":
    // Mouse Up script for a button
    event.target.buttonImportIcon();
    Since this isn't backwards compatible with Reader, you'll probably want to add additional code to test what version is being used and alert the user if it's pre-11. You should also check the return value to see if anything went wrong. The hard part is getting everyone to upgrade, but this and a number of other features should make it worth it.

  • Acrobat X Global Form Field Settings

    Good day - Is there a way in Acrobat X to globally set font face and size for all fields in a form?
    My objective:
    > take template which had a form with 50 filelds
    > globally set font face and size
    It is a real pain in the neck having to do each one field by field.  I am an ASP developer and are usign ASPPDF to populate pdf docs vis ASP code.  If I use X and Y coords with my code I can define font properties with my code However I wish to use Acrobat field names therefore they inherit these setting from the Acrobat field settings.  Wow what a pain.
    Thank you for your help in advance.
    Please note - I am using Classic ASP, not dot net....

    In that case, you can use JavaScript. If you use it in a batch sequence, you can change the field properties of a collection of documents very quickly. Here's an example:
    // Script to set the font and size of text fields
    for (var i = 0; i < numFields; i++) {
        // Get a reference to the current field
        var f = getField(getNthFieldName(i));
        // If it's a text field, set the font and font size
        if (f.type == "text") {
            f.textFont = font.Helv;
            f.textSize = 7;
    You can also run this in the interactive JavaScript console (Ctrl+J) to test it out. More information on the textFont property is in the documentation here: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.727.html

  • Can't set form field properties

    I'm using Acrobat Pro 9.3.1 on a Macbook Pro running Lion. When I create a form field, I can't set the properties of the field. Sometimes I get a "Bad Parameter" error message, and sometimes it just crashes the whole program. I've tried starting from a brand new, blank document right in Acrobat and get the same result when trying to set the field's properties.
    However, when I use a different computer running OS X 10.6 and Acrobat Pro 8.3.0 it works just fine.
    Any thoughts?

    Ok, previously I was trying to do the update from within Acrobat. This time I downloaded the file and it opened a dialogue box telling me, "Please choose the copy of Adobe Acrobat Pro to update." But when I get there, I can't select it. See the screenshot.

  • Using JSP to set form data and automatically submit

    I am using JSP to extract the authentication details form the header, and then set these values and automatically submit them them to a javascript cookie function. I can extract the information, but setting and submitting to javascript seems to be a problem. I don't want to modify the original code because that may change, and if it does change, they can just copy the jsp block to the new page. Plus there may be more pages where I will need to do the same. Any suggestions?

    I am making this a JSP and hosting it in Tomcat since I already have the authentication extracted and base64 decoded with this at the top:
    <%@page language="java"%>
    <%@ page import="com.Ostermiller.util.Base64 " %>
    <%
    String auth = request.getHeader("Authorization");
         auth = auth.substring(auth.indexOf(" "));
         String decoded = new String(Base64.decode(auth));
         int i = decoded.indexOf(":");
         String username = decoded.substring(0,i);
         String pwd = decoded.substring(i+1,decoded.length());
    %>
    Then it has a form with a field checker and then login function:
    function do_login()
    if (is_ie)
    window.document.authenticate.submitbutton.click();
    else
    window.document.authenticate.submit();
    <form method="post" name="authenticate" onsubmit="return check_fields();">
    Log in
    I was wrong about the cookie. It doesn't set it in that html file, it just checks to see if a cookie exists, if it does, it passes the user through. Normally I would use a cookie bean to do this, but again I have to do this for multiple sites which have different values and encryption. I just want to pass the credentials through and then let the back end do the rest. Do you know of a better way? Thanks for replying.

  • Acrobat Pro Calculating form fields lose functionality after enabling document for Reader

    I have a problem that continues to come up increasingly. I thought I had found a work-around on some forums, but it is still causing trouble. Im hoping you can answer the question.
    I am creating a form that requires simple calculations (sum and add). I can get these calculations to work just fine. However, as soon as I enable the document for Adobe Reader, the form seems to get amnesia. It loses the ability to calculate. When I go into the fields again to look at them, they still show that they are supposed to calculate, but arent working. I have to clear the calculations and completely reset them all in order to get them to function again, but as soon as I save this enabled doc, it loses its functionality all over again.
    Frustrating.
    I did find a work-around on a forum, but have only gotten it to work once. It had something to do with closing and saving the document, then reopening it before entering the calculations.
    Is there a clear-cut solution to this problem? The forums were rife with people experiencing the same frustrations.
    Thanks ahead of time for your assistance.

    Nathan,
    It's fairly straighforward to set up a custom validation script for this, but it might not be immediately obvious how to do it. I'll use your form as an example. In it, you have a number of rows with a Quantity field where the user enters how many items are needed, a Price field that has as its default value the price for the item, and a Total field which is a calculated field and should be the product of the Quantity and Price fields. The only variable in the calculation is the value of the Quantity field, so this will be easy.
    The Validate event of a field gets triggered when the field value is committed. This happens when the user enters a value and presses Enter, Tab, clicks outside of the field, etc. What the script should do is take the value the user entered, multiply it by the value that's in the Price field, and set the value of the Total field. The script could look something like:
    (function () {
        // Get the value of this field, as a number
        var qty = +event.value;
        // Get the value of the Price field, as a number
        var price = +getField("PRICE.0").value;
        // Calculate the total
        var total = qty * price;
        // Set the value of the Total field if not zero,
        // otherwise, blank it out
        getField("TTL.0").value = total ? total : "";
    What you really should do, however, is set up a document-level JavaScript (Advanced > Document Processing > Document JavaScripts...) that contains a function you can call from the QTY field of each row. The function will determine which row should be affected based on the field name that triggers it. Something like:
    function calcTotal() {
        // Get the row number from the field name
        // of the field that called this function
        var row = event.target.name.split(".").pop();
        // Get the value of the field that called this function, as a number
        var qty = +event.value;
        // Get the value of the Price field, as a number
        var price = +getField("PRICE." + row).value;
        // Calculate the total
        var total = qty * price;
        // Set the value of the Total field if not zero,
        // otherwise, blank it out
        getField("TTL." + row).value = total ? total : "";
    Than all you have to place as the custom Validate script of each of your QTY fields is the following:
    calcTotal();
    Also, make sure that you remove any calculations that you've set up on the Calculate tab of each TOTAL field. Now that the total fields do not rely on automatic calculations, it does not matter that the document is missing its field calculation order array, though this bug REALLY needs to be fixed. You should consider reporting it to Adobe. I will report it too.
    Note that this code assumes the QTY and PRICE fields are numeric fields, meaning they will either be blank or contain a valid number. You've ensured this by setting up each with a Format category of Number.
    George

  • Dynamically use page number in form field on spawned pages?

    I have a form with spawned pages.  JS for spawning page(s) works fine.  However, one text field on template is driving me nuts.  I would like this field ("CaseNum") to dynamically display page number, since page number also corresponds to case number.  On templage ("getcase"), I can calculate value for CaseNum using custom calc script (event.value = this.PageNum).  But that doesn't work because every spawned page gets the same value (ie, whatever is last spawned page number). I also tried JS below, using P0.getcase.CaseNum as the field on the template in which I want the page number/case number to be displayed:
    var oPage = this.pageNum;
      this.getField("P" + oPage + ".getcase" + ".CaseNum").value = oPage;
    But, this doesn't work either, because the field on the spawned page automatically gets the prefix of P + page number + .getcase appended to the field name.  Is there any way to dynamically used page number in a form field on spawned pages?  If so, how? Note that while I am trying to use a dynamic case number on spawned pages, it presents the same issue as dynamically displaying page numbers on spawned pages.  I'm a JS newbie, so any help appreciated.  I've searched high and low on web and in forums and couldn't find the answer.  Thx.

    http://forums.adobe.com/thread/1160899
    7.George Johnson,
    28-Feb-2013 09:42   in reply to natelfo
    Is this what you mean?
    Also see:
    http://www.planetpdf.com/developer/article.asp?ContentID=6466
    http://www.wordwizardsinc.com/blog/finding-the-fieldname-prefix-on-acrobat-acroform-spawne d-template-pages-using-javascript-functions/

Maybe you are looking for