Set the following fields in 'read only' to take data from the first occurrence?

Hoping that this can be easily done without the need for scripting.

I'm working on creating a form of proposal. There are a few areas where I would like the first instance of an editable field, but the rest would be locked so that they are even taken out of the tab order.

Example: On the first page, I have a field for the name of the company. This field is reproduced in the pages of the proposal. Each field has the same name. So all data have concluded one of them are dealt to each of them.

Ideal solution: Front page field is editable, and is where data is entered. "All the following fields are defined as 'read only' and take their 'master' field data" so someone can't make a change to this form, for example, the third page and have this error repeated throughout the document.

Is this possible?

I use Acrobat Pro DC on Windows 7 pro.

Thank you.

You use a script to do it, but it's very simple.

If the 'master' field is called "Text1", then enter this code in the calculation script customized for all other areas that need to have its value:

Event.Value = this.getField("Text1").value;

Tags: Acrobat

Similar Questions

  • Make all the text fields to read only after signing form

    Hello

    I have a form of direct cycle that must have all the defined text fields as read only after the signing.

    The java script has been placed in the sign post to a digital signature field event.

    for (var i = 0; i < this.numFields; i ++) {}

    NJC var = this.getNthFieldName (i);

    If (cNm.type = "text") this.getField (NJC) .readonly = true;

    }

    After signing the following the error in console form appears:

    this.getNthFieldName is not a function

    Can someone advise please how to change the script so that when the form is signed all text fields become ready only?

    Any help will be most appreciated.

    Thank you.

    You don't need any JavaScript to do this.

    In the designer, you can configure the field signature in this way, that all fields will be locked after the signing.

    Look here:

    http://forums.Adobe.com/message/3121870?TSTART=2

  • How to fill a field read-only based on selections from 2 DDlists?

    Follow-up question:

    http://forums.Adobe.com/message/2417876#2417876

    I have 2 drop-down lists.  'Department' and 'unit '.

    The selection in DDlist 'Department' creates a single list in DDlist 'unit '.

    I select the appropriate of these two DDlists elements.

    When I do this, I want the text read-only 'NameOnIDBadge' field is filled with a predefined entry.

    Example:

    In DDlist "Department", select the item «Finance & Administration»

    In DDlist 'Unit', select the 'Food Service' item in the list that appears

    THEN:

    In the text field read-only 'NameOnIDBadge' of the following built-in read-only text appears: "contract food serv.»

    (Thanks to Paul, I already know how to do selection in DDlist 'Department' affect the selection list in DDlist 'Unit')

    "but I don't know how to make the choice of these two DDlists to create a new entry in a text field).

    I have attached a mock-up of the file that I work with...

    If ((firstDDList.rawValue="Whatever") & (secondDDList.rawValue = 'Whatever'))

    yourTextBox.rawValue = "the text on the right"

    This code would go under the second output of DDList event, replace the code I put in there to add the control to the first DDList

  • How to set the first character as selections in the EditField.

    Hi friends,

    I am a third-party application that I have to set the first character as capital.

    so please help me how to set the first tank as capital.

    Take a look at AutoTextEditField - maybe you can use this to do it automatically...

  • How can I set the first row is 0, depending on the text box

    How can I set the first row is 0, according to the text box selected_text_to_inlineobj.jsx


    https://gist.github.com/milligramme/9368861@

    Try this,

    function boooxed (object_style_name) {
      if (app.selection.length !== 1) return
      var doc = app.documents[0];
      var sel = doc.selection[0];
      if ('baseline' in sel) {
        var bx = sel.insertionPoints[0].textFrames.add();
        bx.appliedObjectStyle = doc.objectStyles.item(object_style_name);
        bx.geometricBounds = [0,0,5,30];
        sel.duplicate(LocationOptions.AT_END, bx.parentStory);
        bx.insertionPoints[0].firstLineIndent=0;
        bx.fit(FitOptions.FRAME_TO_CONTENT);
        if (sel.contents.length) sel.remove();
      }
    };
    
    var object_style_name = "AAA"; //set anchored object settings, textframe preferences, and more
    boooxed(object_style_name);
    

    Vandy

  • Script works only on the first occurrence of a masterpage

    I adopted a dynamic shape on LiveCycle to maintain and update. I have no programming experience, but are working with LiveCycle for over three months to know that I'm going every day.

    I have a problem of script that I don't know how to handle. I use javascript. I currently have a script that will look at the < State > tag to an xdp. If the value < status > is a certain State, then a text in the subform 'footer' of a master page will be hidden while another text with a larger font becomes visible.

    if (xfa.datasets.data.job.data.state.value, == , "NJ") { }

    jobs. MasterPages.Liability_Continued.footer.liabilityFooterBig.presence = 'visible ';

    jobs. MasterPages.Liability_Continued.footer.liabilityFooter.presence = "invisible";

    }

    My problem is that the script only works on the first instance of the master page. On all other occurrences, it always displays the text smaller.

    I tried the script on initialization, enter, exit, calculate, validate, validation status, presave, postsave, preprint, post-press, presubmit, postsubmit, docready, docclose, form ready, ready, available and index change the subform "footer" events, but these events have not worked at all, or only worked on the first occurrence of the subform.

    How can I get the visibility of these text objects to change all occurrences of the subform?

    Hello

    There are two possible options. We need to loop through all instances of the Master Page and change the presence of objects on each instance. The other would be to have the script in the event layout: ready for each of the objects referring to this.presence = "invisible";

    Thus, for example, if your Master Page named Page1, then this should work:

    var oMaster = xfa.resolveNodes("Page1"); 
    
    for (var i=0; i
    

    The exact reference in the script would be according to your hierarchy.

    Niall

  • Set the first value after the select statement

    Hello

    I have a problem here.

    After you run the statement select, it'll come to me:

    COM
    DLY
    EXC
    NRD
    RDY



    My question: How can I set the first value instead of 'COM' in "EXC"?

    Thank you.

    Hello
    Where you use this instead:

    select *
    from
    (
    select col_name
    ,case when col_name='EXC' then 1 else 0 end as "id"
    from table_name
    )
    order by "id" desc
    
  • Find the first occurrence of a Word

    I have a script which detects and counts all occurrences of a Word.

    I need the script to find the FIRST occurrence of a Word only.

    Can any advise please how do I change the script to find the first occurrence of the word?

    Script as follows:

    {

    numWords = this.getPageNumWords var (0);

    for (var i = 0; i < numWords; i ++)

    {

    var ckWord = this.getPageNthWord(0,i);

    If (ckWord is 'MATERIAL')

    {

    / * Script going here based on the finds the first occurrence of the word 'MATTER ' * /.

    }

    }

    }

    I tried var CKWord = this.getPageNthWord (0,0); but reports from the rear console is UNDEFINED?

    numWords = this.getPageNumWords var (0);

    var number = 0;

    for (var i = 0; i)
    var ckWord = this.getPageNthWord(0,i);
    If (ckWord == "ISSUED") {}
    Count ++;
    If (count == 2) {}
    var = this.mouseX Coord.

    var annot = this.addAnnot({)
    page: 0.
    type: "Stamp."
    name: "AppStamp."
    Rect: [coord + 1000, 2300, 30, 2820]
    rotation: 90,.
    ({AP: '#C94cHAFFa42U1gTH5Tug5C'});
               
    break;
    / * this.flattenPages (); */
    }
    }
    }

  • find the first occurrence of a digital data in a string

    Hello

    Can you please suggest me in this.

    I have a set of data, as follows...

    'LOMBORD 123'.
    'LOMBORDD '.
    'LOMBORDD45 '.

    Here how I ffind the first occurrence of the applied digital of each string, it can be a character space as 'LOMBORD 123'.

    My version of the database is 9i I can't use the regular expression.

    Thanks in advance

    Hello

    You can try:

    MHO%xe> with t as (
      2  select 'LOMBORD 123' col from dual union all
      3  select 'LOMBORDD'  from dual union all
      4  select 'LOMBORDD45'  from dual
      5  )
      6  select col
      7  ,      substr(col, instr(translate(col, '0123456789', '0000000000'), '0', 1, 1), 1 ) the_number
      8  ,      instr(translate(col, '0123456789', '0000000000'), '0', 1, 1) the_position
      9  from t
     10  where  instr(translate(col, '0123456789', '0000000000'), '0', 1, 1) > 0
     11  /
    
    COL         THE_ THE_POSITION
    ----------- ---- ------------
    LOMBORD 123 1               9
    LOMBORDD45  4               9
    
  • Topics by opening the first occurrence in the table of contents

    Background: I created HTML5 Responsive help using HR 2015 for a web application. I organized the Hep role, then pages with these roles, users can access, and then by the tasks users can perform on this page. In many cases, a subject is listed under multiple roles and reuse and efficiency, I just dragged the same theme in the list of the topic in the table of contents as appropriate.

    I also used the text conditionalized on table of contents by role level. Using the example below, I have conditions for physician, nurse, and Patient, but I don't think that this is part of the issue well. Conditionalized roles were created for filtering purposes.

    Question: I have the overview topics that include hyperlinks to headings in red in the example below for each role. When a user clicks the hyperlink in this topic of presentation, he brings them to the FIRST occurrence of this topic in the table of contents, not the link that is associated with their role. When a user with the role of the Patient is in the topic view of their role and click the hyperlink 'Research for patients', help opens on this subject, but the "Searching for patients" in the topic role of physician in the table of contents on the left is highlighted.  Not a show-stopper, but it is confusing for users.

    Also, we had originally planned to use the filter feature to filter role help topics. When I filter to view only a specific role (nurse) and do the steps above, by clicking on the Preview 'Search for patients' hyperlink opens but there is no highlighting in the table of contents because this first occurrence is hidden in all the subjects physician.

    Note: This problem does not occur when I generate the content as WebHelp.

    What I want to do: When the nurse click on the hyperlink for 'Research for patients' of their overview topic, researching topic of patients is open and the search for patients is highlighted in the table of contents under the nurse, not the first occurrence (doctor).

    Questions: Is this a bug or is it repairable? And is it possible to fix it without creating the specific role of topics such as finding doctors for Patients, nursing research for Patients and so forth? I tried to delete the table of contents and start again, but the problem persists.

    Here is an example:

    Doctor

    Patient portal page

    Overview (contains links to sections below - view patient demograhic data, looking for patients, to renew orders)

    Display of the demographics of the patients

    Looking for patients

    Renewal of prescriptions

    Nurse

    Patient portal page

    Overview (contains links to sections below)

    Display of the demographics of the patients

    Looking for patients

    Display of orders

    Patient

    Patient portal page

    Overview (contains links to sections below)

    Update your demographic data

    Display of your prescrpitions

    My opinion would be that this is the expected behavior. My theory is that there is no information within the syntax of hyperlinks. A hypertext link is encoded such that when you click on it, you are taken to the landing page, as if sending the message "find the page named and post it by the specified parameters. What is happening is that the hyperlink goes to the first instance of the HTML page in your table of contents (.hhc file). There is no intelligence, he doesn't "know" that you are in the doctor or the nurse section - section he knows only that the page specified in the table of contents is listed in the file and thus, it only takes you there. The syntax of hyperlinks don't "know" where you are in the help system.

    I just also wanted to report the fault of strike in the Patient section, look a your orders of your example, assuming that you have copied and pasted into this thread.

  • How can I add a style "BOLD" grep on the first occurrence of a Word?

    Hi all

    I need help on adding a style "BOLD" grep on the first occurrence of a Word.

    I can add the "BOLD" to the word, but it adds to all occurrences, see below:

    GREP style (Incorrect)

    Apply Style: "BOLD"

    Text: \ < Lorem Ipsum\ >

    Nam Lorem Ipsum semper pellentesque tincidunt. UT nisi sit amet arcu nulla tristique dictum. SED commodo total non mauris cursus pretium. Lorem Ipsum Aliquam erat volutpat. Morbi id pretium justo. Nam lorem quis facilisis molestie risus fermentum. Vestibule ut sem elit. Nunc eget neque Sed elementum augue EU outbound.

    I need only the "BOLD" to add to the first occurrence of the word, as below:

    Nam Lorem Ipsum semper pellentesque tincidunt. UT nisi sit amet arcu nulla tristique dictum. SED commodo total non mauris cursus pretium. Lorem Ipsum Aliquam erat volutpat. Morbi id pretium justo. Nam lorem quis facilisis molestie risus fermentum. Vestibule ut sem elit. Nunc eget neque Sed elementum augue EU outbound.


    Thanks in advance for the help!

    This should do it for you

    Apply style

    "BOLD"

    text (? i) ^(.+?) Lorem Ipsum

    apply the stye

    Book

    text: ^. * ? (? = Lorem Ipsum)

    The first expression search all the text from the beginning of the parapgrah through the Lorem Ipsum

    The other defines the rest of the text before the Lorem Ipsum to the base style (book, novel, or whatever your basic style)

  • Oracle sql for data after the first occurrence of the hyphen

    Hi, I need oracle sql get data after the first occurrence of the hyphen.

    source of the string:
    ABCD - efgh

    I just want everything after the ' - '.

    someone help me please...

    Edited by: 1001076 on 28 may 2013 18:42

    Handle: 1001076
    Status level: Beginner
    Join date: April 18, 2013
    Messages total: 12
    Total Questions: 4 (3 pending)

    I offer you my condolences; Since you rarely get your questions answered here.

  • How to replace the first occurrence of a substring

    How to replace the first occurrence of a substring of my original string? everything built in features in PL/SL?
    EX: Original string: "webinweb" I need the output of string as: "xyzinweb" simply replace occuarnce first of 'web' by "xyz".
    SQL> select   regexp_replace('webinweb','web','xyz',1,1) from dual
    /
    REGEXP_R
    --------
    xyzinweb
    
  • Need to field to read only once saved...

    I modified the current date field to create a unique ID for a form. What I need to do is to become READ ONLY once the user clicks on the submit button. Here is my current FormCalc code

    $.rawValue = Concat (Num2Date ((), "MMDDYY" Date), '-', Num2Time (Time (), "hMMSS"))

    Any ideas? Thank you!

    Hello

    Put it in an if expression.

    if ($.isNull) then
         $ =  Concat(Num2Date(Date(), "MMDDYY"), "-", Num2Time(Time(), "hMMSS"))
    else
         $.access = "readOnly"
    endif
    
  • How to set a form field to accept only integers?

    I use Acrobat X.

    I have a number of fields in a form that are used in a variety of calculations. It is the nature of these fields they should contain whole numbers only, no decimals.

    On the "Format" tab, I set the format of the field 'Number' and the number of decimal places to '0 '.

    On the tab 'Validate', I put 'field value is in Range' ' of 0 "," 999 ".

    It is to ensure that the field can contain a maximum of a three-digit number.

    But this still allows the user to enter decimals. This messes up my calculations, so I want to limit the user input to whole numbers.

    How do I do that?

    Thank you!

    Steve

    It is not on the validation tab, but the Format tab. You must select a Format of the custom type. In fact, you can set the function code and the call to the function in the key code window and it will work for this field. If you can add the function as a JavaScript code at the level of the document, it will be available for use by other similar fields as well.

    I'll try to confirm how to add a function at the level of the document in Acrobat 10...  If anyone knows it, please chime.

Maybe you are looking for