/ Id-Extras Forum / Complex Form Creation – Multiple Levels of Editability / Reply To: Complex Form Creation – Multiple Levels of Editability

#6275
~~Ariel~~
Participant

    Hi,
    So, for the first question (1): Create text fields in InDesign and type the value you want. There’s a checkbox in the Buttons and Forms panel in InDesign called “Read Only.” That will lock the field in Acrobat.
    (2) A very basic script to do division would be something like this:

    Code:
    v1 = this.getField(“Your field name goes here”).value;
    v2 = this.getField(“Another field name”).value;
    this.getField(“Third field”).value = v1/v2;

    Add that to the field called (in this example) “Third field” as a custom calculation script.
    (3) Not sure what you mean about the colour.

    Ariel