Flatten Form field Only or specific field

I’m doing a PDF Form for a client. The client will use Adobe Reader XI to enter the data and save the results.
I was using a button with a javascript to flatten the form field and do a save as. Everything work fine until I discovered that the flatten Javascript ALSO remove all the manually created links in the PDF.
Like I have said, this will be done in Reader, so their is no way this people will use Prefligh, PDF Optimized features to achieve that.
Someone told me it was impossible to (a) flatten specific form field by name, or (b) flatten ONLY the form field and keep links active using Javascript.
Is this true? Does a workaround exist?
Thanks!

It is possible to selectively flatten annotations (including form fields), but it's not as easy as specifying a field name. For more information see the flattenPages documentation: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.466.html
As you can see, you can control which annotations are flattened by controlling whether they are set to print or not. This is the basis of the following: http://www.uvsar.com/projects/acrobat/flattener/

Similar Messages

  • Make form read only if a field is filled in

    Is there a way to make an entire form read only if a certain text field is filled in?  I know that adding a digital signature field to a form, increases the size of the form, so I would prefer not to add a digital signature field to my form.  However, I would like the feature that says after the form is signed, it is read only.  I added a text box to the form and tried to add some script that read:  if (this.rawValue != "") (this.access = "readOnly"), but that didn't work.  Is there a way I can accomplish this without adding a signature field to the form?

    Hi,
    It depends on where you placed the script, probably best place is the exit event.
    if (this.rawValue != null || this.rawValue != "")
         this.access = "readOnly";
    else
         this.access = "open";
    This will only lock the field that the script is inside.
    You should check out Paul's example LockAllFields, which contains a function in a script object. While Paul calls this from a click event in a button, you could call it fromthe exit event of the particular text field.
    Re: Saving Fillable Form as non-fillable PDF
    Hope that helps,
    Niall
    Assure Dynamics

  • Form with only 1 text field + ENTER: Error 404

    I have several JSP pages with forms to enter/edit data. As long as I use the mouse to click the submit buttons, I get no errors. If the form has more than 1 text field to enter, i can also edit one of these text fields and press the ENTER/RETURN key which has the same effect as the submit button clicked with the mouse. But if a form just has 1 text field, I get the following error when I press the ENTER/RETURN key (instead of clikcing the submit button with the mouse):
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    This is the same case on all JSP pages that only has 1 text field: they work when using the mouse by pressing the submit button but fail when using the ENTER/RETURN key.
    Is this a known bug? Is there a workaround for this?

    I believe that text inputs can have their own action
    attribute, so providing the same value there as in
    the form may help (though by default it should defer
    to the form's action).
    So try something like:
    <form action="x.jsp">
    <input type="text" name="..." action="x.jsp"/>
    </form>
    That doesn't help. The addresss bar is also always the same as the jsp pages are displayed in a html frame.

  • Button on Form to Update a specific field with hard coded data

    Hi Guys,
    This will probably be a nice a simple issue for you guys, but I have ben struggling on how to do this for hours!
    On my form created by a report I have a field called status that is pulling the data from the order_status column contained in the customer_orders table.
    What I am looking to do is to create a button on the form that once clicked will change the order_status to "Complete" and update the customer_orders table.
    I have attempted to do this by creating the button and also a proccess on the page, and have assigned the button to the process
    I have set the process as PL/SQL and have entered the following code:
    BEGIN
    UPDATE customer_orders
    SET order_status='Complete'
    WHERE customer_order_id =:P7_customer_order_id;
    END;
    However when I click on the button, the page just refreshes and the field has not been amended!
    Please Help
    Thanks
    kev

    I don't know of any example apps containing that off-hand. I've done this sort of thing several times before, but also can't post them as-is on apex.oracle.com due to sensitivity.
    I can tell you the steps I would follow:
    1) Create a button - in a region position or among region items - doesn't matter. If doing it as a button in a region position it will submit as the button name; if doing it as a button among region items it will submit as the button label.
    2) Create a PL/SQL after-submit process (On Submit - After Computations and Validations). Put the PL/SQL code in for the process (your update code looked fine to me, syntax-wise at least). Continue on in the process wizard and when it gets to where it wants to know if there is a condition, see the dropdown When Button Pressed - you'll want to select the button from step 1.
    3) Then, depending on what you want it to do next you would provide a branch - it could be a branch back to the same page refreshing the data with the new status or move on to another page.
    Are these the steps you followed?
    Hope this helps,
    John

  • Dillema in selecting Delta Specific Field

    Hi Gurus,
    I have stuck in a situation and would heavily appreciate your help.
    I have created a Generic datasource ZAFRU which extracting data from AFRU table.
    I used Last Changed On (LAEDA) as delta specific field but later i found it is not working because more than 50% of records dont have last changed on date (LAEDA) in it.
    So, later i used Posting Date (BUDAT) as delta specific field but still facing a problem. Like, suppose there is a service order which is posted three months ago but changed 5 days ago so delta will not capture the changed record as posting date (BUDAT) is not changed but only Last Changed On date (LAEDA) is changed.
    In this way i am not able to use either fields as delta specific fields.
    Also, can't use timestamp for delta specific field as it is not present in AFRU table and Document number also as it is blank for all the records.
    Please suggest what should i use in delta specific field so that i should not miss any record in BI.
    Thanks,
    Saurabh

    Hi Saurabh,
    First enable selections for ERSDA,LAEDA,BUDAT for the datasource on this table.  Create three infopackages and write below routines on ERSDA,LAEDA and use these to the DSO. Even they are repeated it won't be a problem.
    Once you write below code for an infopackage on say field ERSDA so what all the confirmations created from today to past 7 days will be coming into DSO.
    Similarly for  LAEDA and BUDAT.... also we create another two infopackages and load similarly every time to DSO which makes that no record to be missed.
    data: l_idx like sy-tabix,
          l_sdate type SCAL-DATE,
          l_edate type SCAL-DATE.
    read table l_t_range with key
         fieldname = 'ERSDA'.
       l_edate = sy-datum.
       l_sdate = l_edate - '7'.
            l_t_range-low = l_sdate.
            l_t_range-high = l_edate.
            l_t_range-sign = 'I'.
            l_t_range-option = 'BT'.
    l_idx = sy-tabix.
    modify l_t_range index l_idx.
    p_subrc = 0.
    Regards
    vamsi
    Edited by: vamsi talluri on Jul 13, 2011 7:43 PM

  • Define read-only authorization for specific field(s) on a form for 11.5.9

    Dear all,
    Can you pls let me know how is it possible to define read-only authorization access for specific field(s) per responsibility / user on a form in 11.5.9?
    For example I want to protect the item master file by assigning for example to users with responsibility buyer authorization to modify the buyer information but to have read-only only authorization on other sensitive fields such as make/buy flag, expense accounts, etc
    Through UI Modeller I have only managed to make specific fields on specific forms invisible, or whole tabs invisible, to specific responsibilities but this does not cover my needs as I want them to be able to view the data of the fields but to not be able to update them

    Arun,
    Almost but not quite.. The example you've given has the person VO at the top level which includes all the id's (City, State etc). My use case is slightly different.
    query 1
         select org_id, OrgName from x;
    query 2
         select emp_id, emp_name from y where org_id = x.org_id
    query 3
         multi-table join (approx 9 tables) to retrieve depts associated to employee
         where org_id = x.org_id
         and emp_id = y.emp_id
    Rather than using LOV's would it be better to create VO's and pass in the bind parameters at run time?

  • Need to flatten form fields in pdf

    After a reader extensions enabled form has been submitted, we need to preserve a read-only version of the pdf. Where in the tangled mess of products and api's would I find a server-side version of the PDF Optimizer's flatten form fields feature?

    Thank you Paul!
    Could you please be so kind to help me build the right XFDF file?
    I have tried already something like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve">
    <f href="Form.pdf"/>
         <fields>
              <field name ="DATASET">
                   <field name ="FIELDNAME"><value>1</value></field>
              </field>
         </fields>
    </xfdf>
    But it doesn't work
    I also have tried to fill it using xdp
    Like
    <?xml version="1.0" encoding="UTF-8"?>
    <?xfa generator="AdobeLiveCycleDesigner_V8.0" APIVersion="2.5.6290.0"?>
    <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
    <xfa:datasets xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">
       <xfa:data xfa:dataNode="dataGroup"/>
       <dd:dataDescription xmlns:dd="http://ns.adobe.com/data-description/" dd:name="DATASET">
             <FIELDNAME />
       </dd:dataDescription>
    </xfa:datasets>
    <pdf href="Form.pdf" xmlns="http://ns.adobe.com/xdp/pdf/" />
    <connectionSet xmlns="http://www.xfa.org/schema/xfa-connection-set/2.4/">
       <xmlConnection name="Datenverbindung" dataDescription="DATASET">
          <uri>.\blank.xml</uri>
       </xmlConnection>
    </connectionSet>
    </xdp:xdp>
    and blank.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <DATASET>
       <FIELDNAME>Test</FIELDNAME>
    </DATASET>
    It doesn't work either.  In both cases the PDF opens but the data will be not populated. :-(

  • Printing "Form Fields Only" not working correctly in Adobe XI

    I have a pdf form with fields including check boxes. If I print this form with all fields it prints correctly, but if I select "Form Fields Only" then all check boxes print as checked regardless of whether or not they are checked. When I use this form in earlier versions of Adobe I do not get this problem. Any ideas or solutions?

    Also the "PrintParams" properties require version 6 or above of Acrobat/Reader.
    One has to review the Acrobat JavaScript API for all sorts of version variations in the way Acrobat's JS object works. And the documention is not always correct.

  • How to call hr_location_api.create_location for different address style with only those fields that belongs specific to  that address style.

    How to call hr_location_api.create_location for different address style with only those fields that belongs specific to  that address style. It should decide at run time means at run time it will come to know the type of address style and based on that only the fields which belong to address details mapped to calling hr_location_api.create_location.
    Thanks in advance.

    You can create a wrapper package on top of the API (hr_location_api.create_location)
    In the wrapper package you set all the values dynamically based on your requirements(say the style and add_line columns are populated on your conditions) and then you call the API.
    Does that not work ?

  • Can we selectively flatten form fields in a PDF file?

    I have a PDF with some form fields in it. I want to selectively flatten a few form fields in the PDF using a java API. I have checked the documentation and found a method transformPDF in the OutputServiceService. But this method flattens all the form fields in the PDF document.
    Can we selectively flatten form fields in a PDF file? If yes how?
    This was possible in Adobe Document Server V6.
    Regards,
    Ragha

    You will need an event in the form that will indicate that you want the flattening done. Once you determine what that is it is simply a single statement for each field:
    fieldname.access = "readOnly";
    Now when the form is rendered, the user will not be able to get access to these fields.

  • When I fill fields on a form and ask to print using form fields only, the infomation doesn't show up. Other people in the office use the same form with no problem. Using XI standard.

    I have a fillable form that is used by everyone in the office. When the fields are filled we print using the form fields only option to print on our invoices. When I go to print it in Acrobat XI standard using the form fields only option, none of the information I filled shows up or prints. No one else in the office has this problem. Does anyone know why I can't do this, but other people can?

    I have a fillable form that is used by everyone in the office. When the fields are filled we print using the form fields only option to print on our invoices. When I go to print it in Acrobat XI standard using the form fields only option, none of the information I filled shows up or prints. No one else in the office has this problem. Does anyone know why I can't do this, but other people can?

  • I'm tying to make a payment for photoshop but the fields on the payment form won't allow me to enter the correct card information.  Im based in Japan but my card is registered to a UK address.  the fields only allow for a Japanese style address and postco

    I'm tying to make a payment for photoshop but the fields on the payment form won't allow me to enter the correct card information.  Im based in Japan but my card is registered to a UK address.  the fields only allow for a Japanese style address and postcode.  What can i do to complete the payment and get photoshop!

    As far as I know, your registered location and your credit card information must match... but,
    This is an open forum, not Adobe support... you need Adobe staff to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"
    -or by telephone http://helpx.adobe.com/x-productkb/global/phone-support-orders.html

  • Form Fields Only option in Adobe Reader - any extensions

    My clients only have adobe reader but they need to print pre-populated pdf forms on to preprinted legal forms.For this i need the Form fields only option in the Print dialog but thats only available in Acrobat pro and the clients cannot have pro version. So wondering if there are any extensions for the reader to get this feature enabled.

    Thank you Alheit for your response but that is not an option for me because the designed pdf templates are read by a java program developed using an api called itext and that api is merging (removing) the non-printable background into a single page/layer. I also tried using the non-printable image layer but my program api is merging them into a single layer/page.
    That is why i ended up asking for the question if Adobe is providing any extension for Adobereader to show the Form Fields Only option ?

  • Acrobat Flattening Form Fields and Optimizing for Web

    I'm trying to optimize a PDF for the web and flatten all the form fields. I also want to remove the purple dialogue box at the top when optimizing on the web. Has anyone else experienced this problem? I've toiled around with it for some time and can't seem to figure it out. In the older version, I would simply save it as a file optimized for the web, which would then flatten all the form fields and remove the purple box at the top. Any help would be appreciated.

    Your question really belongs in one of the Acrobat forums. I flatten form fields (use the pre-flight tool) and then save for the web.

  • Trouble printing "Form fields only"

    I've added text to a document, and have selected "Form fields only" for printing but the form fields do not appear. The fields do appear when I print the entire document. I am using XI Standard, and I've printed form fields before. Any suggestions?

    I found the problem... I had added Text through "Edit Text & Images", when I switched to adding a Comment text, I was able to print the "Form Fields Only"

Maybe you are looking for

  • Environment variable setting not working in the report

    Hi everybody, Iam facing a problem related to reports10g ids. database is 9i My basic requirement is ,i want to show a report out put in a BRAZILIAN PORTUGUESE Language. For this purpose i configured the report_server.conf file like <environment id="

  • Since this morning all text in firefox look slightly different - I think it still uses the same font, but renders it differently.

    Since this morning all text in firefox looks slightly different - I think it still uses the same font, but renders it differently!? I would like to have it changed back to what it was. Any help is welcome. Some facts: - Happens only in Firefox (IE &

  • MM01 mandatory view

    Is it possible (and how?) to force the user to create specific views when a new material is created? I would like to define some fields of the Foreign Trade: Import Data view as mandatory. Those fields have been marked as Required in OMSA, and when t

  • Returns docs not posting to XI - SYSFAIL error

    We have a function module called BAPI_GODSMOVT_CREATE to pass return notes to SAP xi.. This program has scheduled to run everyday midnight.. But dud to some reason files were not getting transferred from SAP R3 to XI.. We checked in SM58 and in the s

  • CPU Meter in transport only showing 2 cores

    Ever since the 9.1.2 update, the CPU meter in the transport bar is only showing 2 cores (I have 8 cores). However, if I option-x to see a floating CPU and HD window, all 8 cores appear. Anyone else with this problem?