How to set all THE fields in Acroform ReadOnly

Hello, I am looking for a way to set all the fields in a read-only 2 pages acrofrom.  I understand that this is possible through the use of a digital signature, but I rather not go that route for specific reasons. In addition, I understand defining access to individual fields can be achieved as follows:

var f = this.getField ("FieldName");

f.ReadOnly = true;

Is there a way to specify an entire page or all pages in a doc? Something like:

var f = this.getField ("Page1");

f.ReadOnly = true;

or

var f = this.getField (All);

f.ReadOnly = true;

Any help would be greatly appreciated.

Thank you

S

It looks a bit like something I wanted to do a few weeks ago (here - http://forums.adobe.com/message/3961108#3961108 )

Think that this code could do the trick for you...

for (var i = 0; i)< this.numfields;="" i++)="">

fname = this.getNthFieldName (i) var;

var f = this.getField (fname);

f.ReadOnly = true;

}

Tags: Acrobat

Similar Questions

  • How to make all the fields on one page read only (for the recipient) without having to make each field read-only?

    How to make all the fields on one page read only (for the recipient) without having to make each field read-only?

    Hello Jmbtexas4,

    By default, you will need to individually click on the fields of the form and check the 'read only' and save it. From now on, it is not possible to select all together and make the changes.

    -Usman

  • How to set all the emails in Inbox to read

    I had to download all my emails from My Passport from a backup, but all the emails came with indicator like new emails. How to set all mails in the Inbox to read in time?

    Click at least an e-mail in the list, and then press command-A to select all emails in the box. Or CTRL - RIGHT click on the selection, then click on menuitem followed by clicking on the option Mark as read.

  • How to set all the same color curves

    Hello

    I have some data that I needed draw and want to draw all the curves of the same color.  Normally I just select each individual curve adjust settings, but there are more than 12,000 curves and the manual process would take forever.

    Any ideas?

    Yes, I 2012

    I eventually settled on this

    Dim oMyCurves, oMyCurve
    View.Sheets (1). Areas (1). DisplayObjType = "CurveChart2D".
    Set oMyCurves = View.Sheets (1). Areas (1). DisplayObj.Curves
    For each oMyCurve in oMyCurves
    oMyCurve.Color = "other colors".
    oMyCurve.ColorRGB = RGB (211,211,211)
    Next

    However, it takes very long.

  • How to edit pdf file (in indesign) without having to re-export then and redo all the fields of the form and formatting?

    How to edit pdf file (in indesign) without having to re-export then and redo all the fields of the form and formatting?

    Edit PDF files in InDesign is not a good idea. If the file was originally exported ID, then change the original and then create a new PDF file.

    Open an old, and then use the command replace Pages to insert the new pages on the 'old'. The fields that you have already created will remain in place when you do this.

  • How to get all the names of the fields from a tcResultSet

    Hi, im a connector to write to a file all the fields of the form encoding process.

    to be like this:

    User ID: username value
    First name: First name value
    Name: LastName value

    I'm using the Process key instance for the tcResultSet.
    I know that if I give a table or list the field names hard-coded, I can get the field values.

    Like this

    String fieldname = "FORM_UDF_USR_ID";
    String response = formData.getStringValue (fieldName);

    My question is, how can I get a list of the names of the fields in the tcResultSet so I don't need to provide
    something like

    formdata.getFieldlist ();?

    Thank you.

    tcResultSet userSet = userIntf.findAllUsers (userMap);
    If (userSet.getTotalRowCount ()! = 0) {}
    String [] columns = userSet.getColumnNames ();
    for (int i = 0; i)< columns.length;="" i++)="">
    Logger.Debug (columns [i] + ":")
    + userSet.getStringValue (columns));
    }

    Who give a shot.

    -Kevin

  • How to get all the users of the IOM, whose field Manager is not null or empty

    Hello world

    How to get all the users of the IOM, whose field Manager is not null or empty (using java code)

    Thank you

    Published by: user11205212 on January 18, 2010 12:38 AM

    Hey beginner,.

    I come to write this line where he can put his sql query... in the next post I provided the example sql also...

    Concerning
    VM

    Published by: user12280771 on January 18, 2010 22:11

  • How to extract all the accounts through REST field

    I'm fighting with the REST API calls, I want to extract all records with all of the fields available in them through REST. That's what I've tried so far:

    $client = new EloquaRequest ($eloqua_site, $eloqua_user, $eloqua_password, 'https://secure.eloqua.com/API/REST/1.0');

    $accounts = $client-> get ('/ data/accounts? search = * & count = 1000 & page = 1 & depth = complete ');

    now when I print $accounts it gives only this result:

    [1] = > stdClass Object

    (

    [type] = > account

    [id] = > 365

    [converted] = > 1372683444

    [depth] = > full

    [description] = >

    [name] = > Verkeer in Waterstaat

    [updatedAt] = > 1372683444

    [Address1] = >

    [address2] = >

    [address3] = >

    [businessPhone] = >

    [City] = >

    [country] = >

    [fieldValues can only be] = > Array

    (

    )

    [PostalCode] = >

    [province] = >

    )

    There are more number of fields available under 'Accounts' that which is visible here. All custom fields not is also not recovered, unknown reason!

    Your help is very appreciated to resolve this matter as soon as possible.

    Using version 2.0 of the rest what API should return all the field values:

    GET /Api/rest/2.0/data/accounts?depth=complete&count=1000

  • where can I get advice on how to set up the iPad for a partially sighted person

    Where can I get advice on how to set up the iPad for a partially sighted person. Are there apps that can help the user, perhaps activated by voice?

    Paul,

    Go to http://help.apple.com/ipad/9/#/iPad9a2465f9and see all the topics under accessibility.

  • Qosmio F50 - 10Z - how to set up the bar multimedia?

    Greetings, have a question... because after a long time, trying to make it work, I can not find the problem...

    On my laptop, I reinstall Windows Vista, download all the drivers for the Toshiba for Qosmio F50 driver page, for Vista... and even how to set up the multimedia bar? With Dolby, sound on / off, light power... He s doesn't work do not. Are there special software required? Or can I put it somewhere?

    Thanks for help

    Use this-> http://eu.computers.toshiba-europe.com/innovation/download_drivers_bios.jsp?service=EU research of Value Added Package 1.1.19

  • ACS 5.2 How to set up the local user lockout policy?

    Hi all!

    IM faced with Discover how to set up the local user to the point account lockout policy 5.2 ACS.

    4.2.1 there is the option "failed attempts to go beyond", see link for more details:

    http://www.ciscosystems.com/en/us/docs/net_mgmt/cisco_secure_access_control_server_for_windows/4.2.1/User_Guide/UsrMgt.html#wp273167

    But to the point 5.2 I can't find the option:

    http://www.Cisco.com/en/us/customer/docs/net_mgmt/cisco_secure_access_control_system/5.2/user/guide/acsuserguide.html

    Can somebody spread some light where I configure this?

    BR /Crille

    Just found a bug number indicating it is not supported.

    CSCth12406 Details of bug
    ACS 5 has no option to disable a local account on the unsuccessful attempts
    Symptom:
    ACS 5 doesn't have an option to disable the local account in the internal identity on failed attempts store

    Conditions:
    When ACS 5 is used to only to authenticate users using internal identity store, there is no way to configure a strategy of locking of account for failed attempts.

    Workaround solution:
    Currently there is no work around

  • All the fields are filled automatically with the same information as in the field.  When deleting, all delte also fields.

    Whenever I type information in the first field of the form, it automatically fills the same information in all areas.  How can I stop this

    If you don't have Adobe Acrobat Reader for free, you can not.

    It was more than likely a mistake by the creator of forms. No doubt, they have created a field copy and paste this one to create others. Usually, it's ok, but must be given to all fields different identifiers (names). All the fields with the same name will be filled with the same content.

  • Cut all the field of text quickly?

    Currently, I got more than + 40 textfields that uses DML and the column is of type VARCHAR 255

    I was wondering if there is a quick way of setting all these fields before the update coming.

    From this moment im doing like that... is there way to catch all the textfield and just loop and trim or something simliar...? I was thinking about using javascript and paste 40 names in an array and loop trim and set point but that seems ugly to me. as I have to him every time if a new field is necessary...
    :P1_name := trim(:P1_name)
    :P1_boat := trim(:P1_boat)
    :P1_book := trim(:P1_book)
    :P1_game := trim(:P1_game)
    :P1_phone := trim(:P1_phone)
    .
    .
    .
    :Px_item := trim(:Px_item)
    Published by: PandaOracle on February 14, 2012 14:19

    Hello Panda,

    at the TOP, you can make use of the APEX from the dictionary. Simply create an application or process level page with the following code.

    begin
        for l_item in
          ( select item_name
              from apex_application_page_items
             where application_id   = to_number(:APP_ID)
               and page_id          in (to_number(:APP_PAGE_ID), 0)
               and item_source_type = 'Database Column'
          )
        loop
            if v(l_item.item_name) is not null then
                apex_util.set_session_state(l_item.item_name, trim(v(l_item.item_name)));
            end if;
        end loop;
    end;
    

    This code will loop through all elements of the page on the current and on page 0 and adjust the value if the page element is based on a database column that is used in the LMD processes.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • JavaScript how to get / change the field (object) TYPE (no access or mandatory)?

    Hello

    I would like to change or at least to get the TYPE of a field/object field

    Reason: I have a function in my script object that needs some things if the given parameter is a text field or button

    {myFunction (Object)}

    If (type is button)...

    ClassName is relative to any use. He always comes = field

    Could someone provide a code please?

    Hello

    This script could help show how to get the type of field.  I'm reasonably show that he originally site of Stefan Cameron, http://forms.stefcameron.com/, but can not find it now.  Basically if you have a 'field' then ui.oneOfChild.className will give you the type of field.

    I don't think you'll have a chance to change the field type.  I think that you need to have all the field types you want on the form and that they are visible when necessary.

    function listAllFields (node)
    {
    If (node.className == 'exclGroup' | node.className == "subform" | node.className == 'subformSet' | node.className == 'region')
    {
    for (var i = 0; i)< node.nodes.length;="">
    {
    If (node.name! = "ErrorIconSubform")
    {
    childNode var = node.nodes.item (i);
    listAllFields (childNode);
    }
    }
    }
    Else if (node.className == "field")
    {
    Switch (node.ui.oneOfChild.className)
    {
    case "button":
    Console.println ("button:" + node.somExpression);
    break;

    case "checkButton":
    If (node.parent.className is "exclGroup")
    Console.println ("RadioButtonList:" + node.somExpression);
    on the other
    Console.println ("checkbox:" + node.somExpression);
    break;

    case "choiceList":
    var oUITypeNode = node.ui.resolveNode ("#choiceList");
    If (oUITypeNode.open is "userControl")
    Console.println ("DropDownList:" + node.somExpression);
    on the other
    Console.println ("ListBox:" + node.somExpression);
    break;
      
    case "dateTimeEdit":
    Console.println ("DateTime:" + node.somExpression);
    break;

    case "imageEdit":
    Console.println ("Image:" + node.somExpression);
    break;

    case "numericEdit":
    Console.println ("digital:" + node.somExpression);
    break;

    case "passwordEdit":
    Console.println ("password:" + node.somExpression);
    break;

    case "textEdit":
    Console.println ("Text:" + node.somExpression);
    break;

    case "signature":
    Console.println ("Signature:" + node.somExpression);
    break;

    case 'barcode ':
    Console.println ("bar code:" + node.somExpression);
    break;

    by default:
    unknown field type
    break;
    }
    }
    }

  • How can I disable the fields highlighted as a frame within a specific document?

    I need to disable the fields highlighted on a specific document, regardless of point highlight fields 'users' setting. The fields are being filled with information obtained from a page of entry on my site (not the pdf itself). After a user presses submit, this pdf appears, but the fields are: a) has highlighted b) variable. Bonus points if you can tell me how the fields so that they cannot be changed. Using the 'security' feature and lock by password do not work if I chose to not editable fields because I do not think that the site can enter the information about the pdf. Thank you very much.

    Have you tried to set the fields read-only?

Maybe you are looking for