Defining a field based on another field auto-fill form

I create a dashboard to be used by my businesses inside sales group.

I need to define the shape so that if the data is entered in a field, a number will automatically fill in another area.

Example:

IF a "follow-up quote # ' field, THEN a 3 will automatically be in the fiield"Pts"corresponding

IF a field "new perspective - client ' is filled in, THEN a 10 will be automatically in the corresponding"Pts"field

IF a "New quote # ' field, THEN a 5 will be automatically in the"Pts"correspondng field

Sample form below for visual

Capture.JPG

You can use something like that than the calculation script custom field Pts:

event.value = (this.getField("NameOfOtherField").valueAsString=="") ? "" : 3;

Tags: Acrobat

Similar Questions

  • Auto-fill form fields based on the input from the end user?

    I am currently trying to create a new form that has a combo box 'Locations' with various options.  What I want to do, is to have another car to text field to fill out other fields associated with this location (for example, address, contact information) to save on time and reduce the possibility for the end user input errors.

    What are my options to accomplish such a task?  A form of bonding in the fields with a database of MS maybe?

    Thanks in advance for all advice and assistance on this subject!

    I created a sample for you... are a look and let me know if this is the case for you.

    Paul

  • [Solved] ADF BC - auto-fill form fields

    Hi all

    I think I just need to point in the right direction. I use ADF 11 g BC.

    This is the case in terms of EMP/DEPT. I click a line on the DEPT table, and click Add a button to the employee. A popup launches with a form. I want to have the DEPTNO and informed DEPTNAME already based on the line that was clicked on. Currently, I use createWithParameters when the button is pressed and am able to send the deptno deptname as parameters, I'm just not sure how to complete effectively in these 2 fields in the form.

    Any pointers/suggestions?


    ~ Dan

    Published by: Dan Surkan, March 25, 2009 09:37

    I had this problem too recently. It seems that the parameter array is disabled incorrectly. I bypassed which be manually editing the XML file through the Source tab. Here is an example of a 'Create with parameters' action with two parameters:

        
          
          
        
    

    Bart

  • Can I do an auto-fill forms with the repetition of the data?

    I want the user to be able to enter text in a field in the form and get the other fields in the AutoFill forms with the same text (for example, if the name must be entered in three separate places). Is this possible?

    Leave the fields of the same name, and the values will automatically be the same.

  • Field auto-fill of a window selector file value

    I have a PDF form with many areas where my users are required to enter the file name of the documents. I use Adobe Acrobat 9 Pro

    I tried to find a way to create a field of Action that does the following:

    1. The user clicks on the field
    2. Opens the file browser window
    3. The user selects relevant file
    4. File name and extension is placed in the field that was clicked

    Any advice or suggestions on how to implement this would be welcome.

    In addition, it is possible he would support field/multiple documents in one of the interactions. Example: User clicks Field1 and selects the 5 files. The file names are placed respectively in domaines1, field2, field3, field4 and sphere5.

    P. S.

    I try not to attach files to the PDF document. I want just the names of files to be placed in the form.

    Selected PDF files, or other types are the files? There is another method that can be used for the selection of the files, but it lists only PDF files. It is possible (at least on Windows computers) to use to select any type of file, but it is a bit tricky...
    If this is not the case, with the help of a hidden field is your only option. But you can reset it if, after copying the name of the file to the other field, like this:

    this.getField("FilePath").browseForFileToSubmit ();
    var filePath = this.getField("FilePath").value;
    this.getField("FileName").value = filePath.substring(filePath.lastIndexOf("\\")+1);
    this.getField("FilePath").value = "";

    If you use this code (like the mouse to the top button action), make sure that you remove all codes associated with text fields. And you don't need to create a duplicate field for each file selection field, only going to do... It can even be placed in level doc function so you no longer have to call from each button and have the code itself in one place.

  • Need help with auto-fill the fields

    Hello

    I need help with a form that has multiple pages.  I have some areas I are duplicated in my document.  How I got these fields auto fill throughout the form/paper? For example, I'm going to fname lname, address, telephone, etc... How can I get these fields automatically on the other pages of the form?  Is this possible?  Any suggestions are welcome.

    Thank you in advance.

    If it's just a fill operation then make sure the fields have the same name. Then set the binding to the global level and all the fields with the same name will get the same value.

    Paul

  • Choose field from the joined table based on another field?

    Hello!

    Is it possible to select a field in a row of attached table based on another field? Consider the following data in the CVALUES table:
    ID  C1   C2    C3    C4    C5    C6
    T1  9.6  10.3  12.4  19.6  19.6    0
    T7  9.6  10.4     0     0     0    0
    T3  8.2   9.9  11.4  19.6  19.6    0
    T8  8.3  10.7  13.5  20.7     0    0
    T5  9.4  10.3  12.7  22.9  19.6    0
    ...
    And the following data in the table MDETAIL:
    ID           MDATE        CNUM     ...
    T1  03/28/2012 18:00:00    4
    T1  03/28/2012 18:00:00    1
    T8  03/29/2012 06:00:00    6
    T8  03/29/2012 06:00:00    5
    ...
    I want to get the column corresponding to the VALUE field in the table MDETAIL CVALUES. I'm doing this:
    SELECT m.t1, m.mdate,
           CASE WHEN m.cnum = 1 THEN c.c1
                WHEN m.cnum = 2 THEN c.c2
                WHEN m.cnum = 3 THEN c.c3
                WHEN m.cnum = 4 THEN c.c4
                WHEN m.cnum = 5 THEN c.c5
                WHEN m.cnum = 6 THEN c.c6 END AS cvalue
      FROM mdetail m
      JOIN cvalues c ON m.id = c.id
    The CVALUES table records are unique; only one line by ID.

    This method works and it's fast, but it's messy code and I think there must be a better way to do it. I use cvalue value in several calculations so each calculation that I use is this giant glob of CASES inside!

    Hello

    With a decoding it would be easier, but as ugly :-)

    SELECT m.t1, m.mdate,
           DECODE( m.cnum , 1 , c.c1, 2, c.c2, 3, c.c3, 4, c.c4, 5, c,c5, 6, c,c6) cvalue
      FROM mdetail m, cvalues c
      WHERE m.id = c.id
    

    Success!

    FJFranken

  • Auto-fill text box values field based on the selection of the menu drop-down

    Try to fill in address, city, province, zip from text fields based on the selected option in a select form field. The following code works fine in Internet Explorer, but in Chrome or Firefox, after selection, text, the fields are filled with the word "undefined."

    I found a PHP script Jquery here version that would probabably do the trick.
    http://StackOverflow.com/questions/3657127/jQuery-populate-text-input-from-table-based-on-select-Valeur

    Maybe someone has a version of CF. they could share?

    Thanks in advance to anyone who can point me to a solution for this code, or a better way to fulfill my need.

    <!--> destinations with address auto-fill, city, etc.
    < script type = "text/javascript" >
    function selectAddress (list) {}
    take the first element is empty
    If (list.selectedIndex > 0) {}
    var locationID = list.options [list.selectedIndex] .value;
    locationAddress var = list.options [list.selectedIndex] .locationAddress;
    var locationCity = list.options [list.selectedIndex] .locationCity;
    var locationState = list.options [list.selectedIndex] .locationState;
    var locationZip = list.options [list.selectedIndex] .locationZip;
    document.getElementById('locationID').value = locationID;
    document.getElementById('locationAddress').value = locationAddress;
    document.getElementById('locationCity').value = locationCity;
    document.getElementById('locationState').value = locationState;
    document.getElementById('locationZip').value = locationZip;
    }
    }
    < /script >
    < b >
    < td align = 'right' bgcolor = "#FFFFFF" valign = "top" > Destination name < table >
    < td align = "left" bgcolor = "#FFFFFF" valign = "top" >
    < select name = "locationID" onChange = "selectAddress (this)" class = "smallforms" > "
    < option value = "" > SELECT the DESTINATION ››› < / option >
    < cfoutput query = "allLocations" >
    "" < option value = "" #locationName # "locationAddress =" #allLocations.locationAddress # "locationCity =" "#allLocations.locationCity #" locationState = "#allLocations.locationState #" locationZip = "#allLocations.locationZip #" > #locationName # < / option >
    < / cfoutput >
    < / select >

    Others: cfinput name = "destinationNameOther" type = "text" class = "smallforms" size = "75" >
    < br / >
    < input id = "locationID" name = "locationID" type = "hidden" > < br >

    Address: < input class = "smallforms" id = "locationAddress" name = "locationAddress" type = "text" size = "30" >
    City: < input class = "smallforms" id = "locationCity" name = "locationCity" type = "text" size = "20" >
    State: < input class = "smallforms" id = "locationState" name = "locationState" type = "text" size = "2" >
    Postal code: < input class = "smallforms" id = "locationZip" name = "locationZip" type = "text" size = "8" > < br / >
    < br / >
    < table > < /tr >

    In your last code done selectAddress refers to "index" but I'm not declared or assigned. I think that you are missing 'var index = list.selectedIndex;' statement.

  • Make a mandatory DFF field based on another field

    Hi all

    We have a requirement where we need to do a mandatory DFF field based on another field.

    example:

    FDF has two fields:

    Depose1: the values 'Email', 'Fax '.
    Depose2

    If "Email" is selected in 'Field1' Field2 should become mandatory.

    All entries on this will be really useful.

    Thank you and best regards,
    Satya.

    Please see old topics that cover the same subject - http://forums.oracle.com/forums/search.jspa?threadID=&q=DFF+AND+mandatory+ANd+Dependant&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001

    Thank you
    Hussein

  • 'Pass' or 'Fail', based on another field?

    Enter this script so a field (field1) enters the 'success' or 'Failure' as a number of Field2 is < 2 or > 1? Can I get into this as a custom in Field1 calculation?

    You need to give more information on exactly when you want to 'Pass' or 'Fail' to display.

    If you want to display "Pass" If the value is > 2 and 'Fail' if it is< 1,="" try="">

    For Text1 custom calculation script

    var F1 = this.getField("Text1").value;

    var F2 = this.getField("Text2").value;

    Do Text1 white if Text2 is > 1 and< 2="" or="" is="">

    If (((f2 > 1) & (f2))< 2))="" ||="" (f2="">

    F1 = « » ;

    }

    Pass if Text1 Text2 > 2

    ElseIf (f2 > 2) {}

    F1 = "Pass";

    }

    Do Text1 fail if Text2<>

    ElseIf (f2<>

    F1 = "Fail";

    }

    Display result in Text1

    Event.Value = f1

    You need to replace 'Text1' and 'Text2' with the names of the fields in your form.

  • Field of auto fill...

    I have a form that collects data of currency.

    what I want to achieve is to get a calculated, based on what value above, which would appear in another text field automatically before submitting. This value would then be saved to the db on submit.

    for example:

    <? PHP
    $unitvalue = $POST_VARS ["textfieldunitvalue"];
    $quantity = $POST_VARS ["textfieldquantity"];
    $totalvalue =($unitvalue*$quantity);
    ? >
    < td > < input name = "textfieldtotalvalue" type = "text" id = "textfieldtotalvalue" value = $totalvalue > < table >

    I guess however that both GET and POST methods activate only on 'submit '.

    So, how to get an auto-fill feature?

    Is there a simpler solution?

    On May 14, 2007 in macromedia.dreamweaver.appdev, geschenk wrote:

    > youíre approach is correct, but youíll need frame text
    > fieldis value in and here "echo" variable.
    > means:
    >
    >
    >
    > The way it o now, the visitor would be able to change or remove the
    > fieldis table of contents, so if don't want that to happen, you should
    > do better that a field hidden, means...
    >
    >
    >
    >
    >.. .and also "echo" the result in the form of plain text

    In fact, since it is a derived value, it should not be stored in the
    database at all; It should be calculated when the value comes from
    the database. At the very least, the calculation must be performed
    serverside, just before inserting it. Once you create the value
    by calculating clientside, could create an enterprising site visitor
    their own form to submit this information.

    You can view the information in the unchangable like this form; Note
    the 'disabled ': attribute

    <>
    name = "textfieldtotalvalue".
    Type = "text".
    ID = "textfieldtotalvalue".
    "value =""
    Disabled = "disabled" >

    --
    Joe Makowiec
    http://Makowiec.NET/
    E-mail: http://makowiec.net/contact.php

  • How do another field the value of a field in a form? As my image shows.

    Mr President.

    How do another field the value of a field in a form? As my image shows.

    I want that when a user enters the value credit then it also presents credit () 1.

    As below

    CREDIT.png

    concerning

    public void setCredit(String value) {
            setAttributeInternal(CREDIT, value);
      setCredit1(value);
    }
    

    Define autosubmit = true for the first column of credit.

    See you soon

    AJ

  • Can we define a field value of contact with the CRM campaign settings ID campaign?

    Hello

    Can we define a field value of contact with the ID of CRM campaign?

    For example: LAST campaign SFDC ID (field of contact) = CRM campaign (campaign) No.

    The Eloqua campaign canvas has the possibility to update CRM directly with the status of the campaign on things like email send or clicks. IF you set these shares to be among the rules of the answer, then as they happen, they will create/update records of campaign in CRM directly responses. However, this will have an impact on information in Eloqua.

  • Auto filling of a field

    I want to write a script where I enter a "revised" Date and the "Date" field is filled automatically for a date 180 days later. How to achieve this?

    One approach is to use a validation script customized to the revised Date field which defines the value of the field next deadline. Something like:

    (function () {}

    Do nothing if this field is empty

    If (! event.value) {}

    return;

    }

    Get a reference to the other field

    var f = getField ("next Due");

    Convert the value of this field (a string) to a date object

    Kai var = util.scand ("mm/dd/yyyy", event.value);

    Add 180 days

    oDate.setDate (oDate.getDate () + 180);

    Value in the other field to the corresponding date string

    f.Value = util.printd ("mm/dd/yyyy", anyway);

    })();

    You can instead use a custom for the "next deadline: field calculation script

    Custom calculation script for the field "next deadline."

    (function () {}

    Get the value of an input field

    var sDate = getField("Date_Reviewed").valueAsString;

    Clear this field if the entry is empty

    If (! sDate) {}

    Event.Value = "";

    return;

    }

    The value of this field (string) converted to a date object

    Kai var = util.scand ("mm/dd/yyyy", sDate);

    Add 180 days

    oDate.setDate (oDate.getDate () + 180);

    Set the value of this field

    Event.Value = util.printd ("mm/dd/yyyy", anyway);

    })();

  • Auto filling field

    Hello, I'm looking for direction here on a form that I build.  I use Acrobat XI and I'm shooting what I want the field left under the vehicle of information about auto fill depending on the value of the number 10 in the number of WINE.  For example, below, I have '0' in 10th place, which is the year 2000, so I would like the year field to adapt to account for 2000.

    I'm a web designer, so I have some JS experience.  He's using the if/then statements?  Any help/direction is appreciated, thanks!

    vin.png

    Ah, OK, that makes more sense. This isn't a number, but a character.

    In this case, you can use a series of if-else commands, or the switch command.

    The first should look like this:

    var v = this.getField("Vin-10").valueAsString;

    If (v == 'P') event.value = "1993";

    else if (v == 'R') event.value = "1994";

    else if (v == "S") event.value = "1995"; etc.

    else event.value = "";

    Adjust the name of the field in the first row and place the code in the script of custom computation of the year field.

Maybe you are looking for

  • Cannot install iOS 9.3

    When I try to install iOS 9.3, get a message that can not install because it is no longer connected to the Internet, how can this be corrected?

  • Great performance in LabVIEW 2012

    Hi all I expect a performance increase upgrading to LV2012, by habit, unfortunately, it seems it's been degraded by more than 50% for a simple landmark that I created for this purpose. For now, I'll stick to LV2011 for this reason. LV2011 running on

  • Printers HP d110 says its offline

    Original title: HP printer d110 It says its offline and does not print anything I take it back. It's for my laptop, however the old computer in the other room, the printer works for one

  • HP LaserJet 400 ColorMFP M475D: HP equipment MIB (Management Information Base)

    Hello! I am developing a project with Zabbix (open source solution for the network, applications, and devices, such as a printer, switch and monitoring etc) and now I'm getting better the SNMP Protocol on this software. So, to start, I need to know s

  • Incoming calls and sending interrupted when the helmet was in my pocket...

    Hi guys, when I accept the call or call someone to tape, phone screen opens too... And this opening screen phone can touch my leg in my pocket. If you touch them, the problems begin like this: type mute, or type waiting call... etc. So that my conver