Add 2 Unlike the fields

I've been Googling for awhile and can't seem to know if I can do it or not.

On the form, I'm working on, I need to have the field "SKL_2" the product "SKL_1" and "TRN".

However, 'NRT' is a checkbox "SKL_1" is a numeric field.

So, what I need to happen, is that "SKL_2" is the value of "SKL_" and 5 if "TRN" is checked.

Thanks in advance!

I would try a custom as a calculation:

(function () {}

Get the field values as numbers

var v1 = + getField("SKL_1").value;

If (v1 is 'Off') v1 = 0;

var v2 = + getField("TRN").value;

If (v2! = "Off") v2 = 0;

Perform the calculation

Event.Value = v1 + v2;

})();

or

AFSimple_Calculate ("SUM", "SKL_1, TRN");

The last of them will not display the fields used in the calculation.

Tags: Acrobat

Similar Questions

  • AutoGenerate field in Adobe Acrobat Pro and also form getting automatic flow on auto-add to produce the field to the form

    Hello

    I made PDF form that contains Radiobutton, TextBox, Button, CheckBox and barcodes in Adobe Acrobat Pro and everything works well.

    But according to the new requirement I need to "Autogenerate" some fields such as Radiobutton, text field and CheckBox by clicking on the button "add a field"and clicking on the button of the control should get auto generate this PDF form.

    Additional text that is already added to the PDF form get flow down when the fields if auto generate at the top of the form.

    Thanks in advance.

    You can add fields with a script (or show/hide existing fields), but you can not re-flow static PDF file text, unless it was created in LiveCycle Designer.

  • How to add text to the field "Notes"?

    Hi I am working on a script decom our Vm.  I want the script to stop the guest operating system (easy), and then add the text that's already in the remarks section of the VM to tell the date and Decom. Then move the virtual computer in our folder Decom.

    How to make the most of this, I worked, but what I can't find is it possible to change the field "Notes" of a virtual computer?  I found in Set - VM, there is the Description field we used to use, but once when we have improved our VC we lost all the descriptions, so we started to move everything in the 'Notes' field instead.  Should perhaps use us description instead of Notes field?  I've always been a little confused why VMware had them both there because they seem to do the same thing...

    Thanks for the help guys...

    Packetboy.

    You can do this way:

    $vm = 
    $note = (Get-VM $vm).Description
    $note += " appended text"
    set-vm $vm -Description $note -Confirm:$false
    
  • How to add additional buttons, the fields in the query Panel

    I have a layout where I need to search for employees working under a Manager

    I have a search criteria where I can choose coach in a menu drop-down so that the data of employees under him appears


    Now I need to add a field more in search as assign to the manager who is a drop down

    And I need add two buttons Reassign, Deassign the search criteria


    So that when I select my manager current employees under him if poster and when I select the value of the entitlement and Manager dropdown in search criteria and click on the button to re-allocate employees are they assigned to this new manager... If I click on delete the key assignment those employees will get current Manager deassigned

    And also once the results displayed in table I have to have a checkbox for each record where I can select the checkbox and reassign or deassing only employees


    How to add additional buttons, fields for the Commission to request... I slipped and dropped my display criteria in the query with table Panel

    Hello

    a query Panel is for query and do not update documents. You can add buttons to the toolbar facet

    See: http://download.oracle.com/docs/cd/E21764_01/apirefs.1111/e12419/tagdoc/af_query.html

    but not the query itself on the ground

    Frank

  • Thunderbird will not add addresses for the field in my emails

    When I double click on a name in the sidebar to e-mail it does not transfer to the column To the e-mail message. or by using one of the other roads (right-click and click the command to, etc.)

    Can someone help me?

    Thank you very much

    Jennifer

    He has already worked for you? If so, when did it stop working?

    Such problems are often associated with the entries in the address book in the fields, which usually comes to have imported also addresses and do not match the data fields in the address book in Thunderbird with the fields in the imported data.

    Open your address book and search your Contacts. are in fact all e-mail addresses in a field of email addresses and not elsewhere? "Nicknames" seem to be a common location to misplaced email addresses.

  • Add Styles to the field

    Hi all

    I have a ButtonField, but it provides only one type of style, can I apply to it.

    // ButtonField constuctor ButtonField(String label, long style);
    

    If I want to use two styles, as if I do not use CONSUME_CLICK, a menu comes with the click of the button.

    ButtonField.CONSUME_CLICK;ButtonField.FIELD_HCENTER;
    

    How can I achieve this?

    Thanks in advance,

    Sandeep

    Multi-year ButtonField = new ButtonField ("Label", ButtonField.CONSUME_CLICK |) ButtonField.FIELD_HCENTER);

  • We can do a field cannot be changed using the field Validation?

    Hello

    Is it possible if we could do a non editable field using the field validation? We cannot do it in read-only because we have a code that uses the selector report to update these fields. Is there a way we can put a posting on the ground that it would throw an error message when a user tries to change this field?

    Thank you

    MB

    Of course, we can use the validation for this:

    Add this to the field Validation:

    PRE ('') = IfNull (FieldValue (''), "XXX")

    Replace FieldName with the actual field name.

    Good luck
    Royston

  • How to make a request for Validation on the field of comments in BPM Worklist task details Page

    Hello
    I am newbie to SOA 11 g.

    I use SOA 11 g and Jdev 11.1.1.3 for development. I created a human with two results (APPROVE, REJECT) and task able to display the page the task details in the BPM list. I have the comments of default section that comes by 'Auto generation of ADF Taskflow' in the Task Details page. This comments section will display the comments of several users who have access to the task. I want to add validation for the field of comments as below-

    (1) to DISMISS the action, we must check whether or not the APPROVER had provided the reason for REJECTION in the comments field. If this isn't the case, we need to display a popup asking him to provide observations of REJECTION.
    (2) on the action to APPROVE, no need to check for comments, so no validation is necessary.

    Can someone give me some ideas how it is possible.

    Thank you
    Udaya Neeliahgari

    Hello
    Try the following...
    In the composite open y'r process bpel... and then to expand the human task... you will notice a task entitled just before the initiateTask run the following two copy operation in the task of AssignTaskAttributes within the scope of the human task.

    IMP Note: The variable is the variable initiateTaskInput of the human task field. Don't assign not on on the global variable

    1 assign a string value "REJECT" in the expression (assuming that you do so that the result of REJECTION) and assign it to the variable

    /TaskService:initiateTask / task: task / mission: systemAttributes / task: preActionUserSteps / task: preActionUserStep / task: results

    2 assign the string value "PROVIDE_COMMENTS" in the expression and assign it to the variable

    /TaskService:initiateTask / task: task / mission: systemAttributes / task: preActionUserSteps / task: preActionUserStep / task: userStep

    view the .bpel file source y'r and make sure that you see something like the following:




    Query = "" / taskservice:initiateTask / task: task / task: systemAttributes / task: preActionUserSteps / task: preActionUserStep / task: result "/ >"




    Query = "" / taskservice:initiateTask / task: task / task: systemAttributes / task: preActionUserSteps / task: preActionUserStep / task: userStep "/ >"

    Just deploy the app... and when you try to dismiss... it should appear the message.

    concerning
    Raja

  • Why Firefox Add autocomplete = "off" for the fields of connection of my own web site?

    First of all: it's my own website, my own HTML code.

    When I look at the source code for my login form (both on my server and delivery to the browser), there is no autocomplete = "off" attribute it.

    And yet, when I look at the field using FireBug, I see that autocomplete = "off" there is in the DOM. It is applied to the fields "username" and "password" for me. Thank you, Lord for security mystery!

    Therefore, I can't use the stored credentials of the security apparatus to fill out the form.

    Does anyone know where this attribute is added and how to disable that?

    Again, this is my own code. Thank you!

    You can post a link to a page accessible to the public that doesn't require authentication (signature)?

    Note that scripts can also add such an autocomplete attribute, you should maybe check the generated code or right-click in these areas and use 'Inspect element' or select the fields and use the selection "View Source" from the context menu.

  • Exception occurred in the Microsoft Access database engine: the field is too small to accept the amount of data you attempted to add.

    Hello

    I try to save a path in a table in an access database, but an error occurs:

    "Exception occurred in the Microsoft Access database engine: the field is too small to accept the amount of data you attempted to add." Try insert or paste less data. "in create a NI_Database_API.lvlib:Rec - Command.vi-> NI_Database_API.lvlib:Cmd Execute.vi-> NI_Database_API.lvlibData.vi B tools insert-> project total.vi.

    I've attached a JPEG of a part of the code and the code, but it won't work because the database is not attached,

    any help please?

    Ok

    I solve the resized problem.i column size

    Thank you

  • How to add items to the list of object field

    I have an array of strings as shown below.

    String s [] = {'a', 'b', 'b', 'b', 'b', 'b', "a"};

    I want these elements in the field of the Objecat list with output picking up the elements of a String array.

    in other words, the ListField should only contains ' has 'and' b ' as list items

    How to add the elements of a String array to the listfiled without repeating the

    Chain of elements of the array.

    someone help me please...

    concerning

    use a vector as the data structure for the objectlistfield. Check contains() before adding the item in the vector.

  • Add text to change the field

    Hello

    I display a text field on a screen. Is it possible to add the user to add text to the editfield, even if the focus is on a button. So, no matter where the cursor is on the screen if the user types the text it is automatically sent to the editfield. Is this possible?

    Thank you

    I think it's possible.  You can issue a setText at any time update the field.  The trick is to get and then the interpretation of characters.

    To give you an easy solution. say that you override keyChar to your screen.  This will get the control regardless of the field is in fact in short.  So, you could do something like this (untested, no compiled code, as only learning tool):

    {} protected Boolean keyChar (char c, int status, int time)
    String current = myEditField.getText ();

    String = new current + c;

    myEditField.setText (new);

    Returns true;

    }

    There are problems with this, for example, how do you get back?

    Another option is to replace keyDown and if the focus is not on the EditField, set it to the EditField.  Then the EditField will receive all methods keyChar itself and treat them properly.

  • How to add fills or margin in the field of text objects?

    Hello

    When I added a BitmapField to a Manager I can user setSpace() on theBitmapField to add a space/margin between the edge of the screen and my BitmapField, how can I do the same for RichTextFields?

    Hello

    There are some function in the field class, you can use more there is a class more XYRect that can be used to set the margin margin.

  • Add text to the Description field without replacing the existing content in multiple images

    Hello

    I'm desperately looking for a way to be preceded by some data keyboard entered in the field of IPTC Description (without compensation of existing data) of a number of images selected in Bridge. I searched this forum but can't find an existing thread.

    Can anyone help with a script please?

    Thanks in advance.

    That should do it.

    #target bridge;
       if( BridgeTalk.appName == "bridge" ) {
    prefixDesc = new MenuElement("command", "Add Prefix to Description", "at the end of Tools");
    }
    prefixDesc.onSelect = function () {
    var sels = app.document.selections;
    prefixName = Window.prompt("Please enter description prefix","","Prefix Description");
    if (prefixName == null)  return;
    for(var a in sels){
    var thumb = sels[a];
    md = thumb.synchronousMetadata;
    md.namespace =  "http://purl.org/dc/elements/1.1/";
    var Caption = md.description ? md.description[0] : "";
    md.description='';
    md.description = prefixName + Caption;
    }
     app.document.chooseMenuItem('PurgeCache');
    };
    
  • Hi - I've never asked a question here - forgive me if I am doing it wrong.  I am trying to add a digital signature field in Acrobat DC, so it can be signed to the reader by someone other than me. (A digital not the type that will attract the DC for you or

    Hi - I've never asked a question here - forgive me if I am doing it wrong. I am trying to add a digital signature field in Acrobat DC, so it can be signed to the reader by someone other than me. (A digital step type that DC will draw to you or allow you to draw yourself.) I can do the fields but they do not work. The signature fields used to have little flags in the corner of the box that indicates that they were ready to be signed. My steps consist of:

    Select Tools - prepare forms. I click on the "this document requires signature. Automatic detection is on.

    Next, I check the automatically created fields. I tried to just change the properties of the signature signature box and I also tried drawing signature block or a right signature (not sure what the difference is) , I noticed that under "More" there «return it to the form acrobat.» When I do I get the message that "Acrobat will now NEA Acroform - click ok to continue"-I made and save - can I save again with the new name of 'Save as another' to activate the form. So I check the form in Reader, but it does not work! What I am doing wrong? I used to be able to do that!  I tried other ways, but DC wants me to a digital signature for me (I already have one!) Help please!

    In Acrobat, you can add a signature field to the form:

Maybe you are looking for