Populate other fields when checkbox is activated....

I have seen several threads in regards to copying the Billing Address to use as the shipping address through the use of scripting.  My project is to have a form the creates an quick invoice, in which the client clicks a check box for product(s)/services they would potential want.  When a check box is selected the "cost" will be displayed in another field.  So let's say:
Product A = $300
I want the form to display $300 in another box when the client puts a check in the box next to "Product A"
Can anyone help a newbie?
thanks

You will have to add a custom JavaScript action to the "Mouse Up' action for the check box. This action will have to take into consideration the box being checked and unchecked. The Acrobat User's Community, http://www.acrobatusers.com/ , has a number of tutorials and eSeminars on demand that cover creating forms and JavaScript in forms.

Similar Messages

  • How do i expand a field in a line with 3 other fields when forms design will not allow

    how do i expand a field in a line with 3 other fields when forms design will not allow it? I also want to shrink one of the fields and cannot do so.

    It is possible that all there is not enough room on your line to grow the field. You can try a few things :
    - Make the form width wider by dragging the right edge of the form or via the Form Setup dialog (File > Form Setup... and change the Form Width)
    - You can make other field on the row narrower (if they are not already at their minimum width).
    Each field type has a minimum width. What field type are you trying to make smaller?
    For example : Text and Multiline can go down to a width of 30. Dropdown min width depends on the length of the long item in the dropdown list.
    Hope this helps
    Gen

  • After inserting into one field using LOV,  how to populate other fields ?

    Hi,
    I have a BLOCK based on a table (ex:EMP)
    And I have a LOV on the field(item): EMPNO.
    When I select one EMPNO from the LOV (when the field:EMPNO is populated with an emp number), the other fields should be populated
    Can some body let me know, which trigger I need to use and .......
    Thanks

    while creating LOV at empno you can this query
    select empno,ename,deptno from emp
    and define return item for each column.
    You can populate LOV manually at New_instance_item or Key_next_item
    of item empno.

  • How do you use a drop down menu to populate other fields?

    I am creating a PDF that upon choosing from a list of People their address, phone, etc will automatically come in the remaining fields, or if a new person is choosen than you can add names address phone and it will save for future referrence ?
    Any help would be appreciated,
    THank you

    Thanks for your comment.
    Try doing this:
    Connect the form to a database and bind the fields in the form to the associated nodes in the data source so the data values automatically appear in the bound fields when a name is selected in the list.
    Add scripting to the list of names so the associated fields for address and phone number appear only when the user enters a new name and needs the other fields to enter new data.
    If that doesn't work, please provide more information about what you are trying to do. For example, here are a few questions to consider:
    Q. What object are you using for the list?
    Q. You say you want to be able to choose a person from a list of People, and their address, phone, etc automatically appears in the remaining fields address and phone number. What do you mean by etc. That is, exactly what objects are you planning to use for the other fields, and how many fields are there in total?
    Q. Is your form connected to a data base, which can supply the data values for the address and phone number fields.
    Q. What do you mean by 'a new person is chosen'. Normally the options on a list are pre-determined and added when you create the form. Do you want users to be able to add a new name to the list, and then enter that person's address and phone number in some adjacent fields?
    Have a look at these sections in the Help to gain a better understanding of what's involved:
     Working with Data Sources
    http://livedocs.adobe.com/livecycle/8.2/acrobat_designer/000844.htmlhttp://livedocs.adobe.com/livecycle/8.2/acrobat_designer/000844.html 
    Buildling actions in forms
    http://help.adobe.com/en_US/livecycle/9.0/designerHelp/000109.html#1627696 
    Thanks,
    Drew

  • Not able to Hear other person when Handset is activated

    I have the problem of not being able to hear the caller. They are not having any issues on hearing the voice. Issue wasn't resolved after pulling the battery as suggested in other threads.
    Interesting fact is: When I activate the speaker phone (either by blackberry options / by pressing the button "."), I am able to hear them. When handset is activated, I am not able to hear the caller. I checked bluetooth was disabled.
    Any clue on what is wrong with the headset?
    Thanks

    Hey mzmeel,
    If you are having an issue with sound on your iPhone, I would suggest that you troubleshoot using the steps in this article - 
    If you hear no sound or distorted sound from your iPhone, iPad, or iPod touch speaker - Apple Support
    Thanks for using Apple Support Communities.
    Be well,
    Brett L 

  • Automatically populate other fields on screen while applying search help on

    Hi,
    There is some urgent requirement
    I have one screen in which 3 fields are there
    Functionality is like this when I apply search help for one field it will call a FM which populate a internal table in which value for all 3 fields will be there and it should be populated in all 3 fields.
    I am assigning proper value to all 3 fields in POV event but only one feild is getting populated on which I am applying search help.
    Anybody can sort this out.
    will be thankful to U.

    Hi..,
    just copy, paste and execute this code..
    Check this code..will be helpful for u..
    tables:mara,makt,mseg.
    parameters: p_bukrs type t001-bukrs,
    p_butxt type t001-butxt,
    p_ort01 type t001-ort01,
    p_land1 type t001-land1.
    data: dynfields type table of dynpread with header line.
    data: return type table of ddshretval with header line.
    at selection-screen on value-request for p_bukrs.
    call function 'F4IF_FIELD_VALUE_REQUEST'
    exporting
    tabname = 'T001'
    fieldname = 'BUKRS'
    dynpprog = sy-cprog
    dynpnr = sy-dynnr
    dynprofield = 'P_BUKRS'
    tables
    return_tab = return
    exceptions
    field_not_found = 1
    no_help_for_field = 2
    inconsistent_help = 3
    no_values_found = 4
    others = 5.
    refresh dynfields.
    read table return with key fieldname = 'P_BUKRS'.
    Add it back to the dynpro.
    dynfields-fieldname = return-retfield.
    dynfields-fieldvalue = return-fieldval.
    append dynfields.
    Get the company code from db and add to dynpro
    data: xt001 type t001.
    clear xt001.
    select single * into xt001
    from t001
    where bukrs = return-fieldval.
    dynfields-fieldname = 'P_BUTXT'.
    dynfields-fieldvalue = xt001-butxt.
    append dynfields.
    dynfields-fieldname = 'P_ORT01'.
    dynfields-fieldvalue = xt001-ort01.
    append dynfields.
    dynfields-fieldname = 'P_LAND1'.
    dynfields-fieldvalue = xt001-land1.
    append dynfields.
    Update the dynpro values.
    call function 'DYNP_VALUES_UPDATE'
    exporting
    dyname = sy-cprog
    dynumb = sy-dynnr
    tables
    dynpfields = dynfields
    exceptions
    others = 8.
    <b>
    plz do remember to close your thread, when ur problem is solvedd !! reward all helpful answers !!
    regards,
    sai ramesh</b>

  • LiveCycle ES2 - Auto Populate Date field when signed

    Good afternoon,
    I've got a signature field called "sgnPOC" and a date field called "sgnPOCDate" I'd like to have the date field filled in automatically when the sgnPOC is digitally signed.
    I added the following to the postSign* event to sgnPOC.
    FORM.Main.sgnPOCDate.rawValue = util.printd("mm/dd/yyyy", new Date());
    and different variations including setting the date to yyyymmdd and like. It just won't auto populate. It passes the script check in the script editor.
    any ideas?
    Thank you.

    Thank you,
    I tried the following - to no success.
    FORM.Main.sgnPOC::postSign - (JavaScript, client)
    var myDate=date()
    FORM.Main.sgnPOCDate.rawValue = Num2Date(myDate, "YYYY-MM-DD")
    I also tried this
    FORM.Main.sgnPOC::postSign - (JavaScript, client)
    var myDate=date()
    $.rawValue = Num2Date(myDate, "YYYY-MM-DD")
    Which also did not work, but wouldn't that need to know where to put the date?

  • Auto-populate filename field when saving?

    I have a form which contains a Save button (using the following JavaScript: app.execMenuItem("SaveAs"))
    I have a required field on the form called 'ProjectTitle'. Is there something I can add to the button script which will pick up what the user types in the 'ProjectTitle' field and use that as the filename when they click the 'Save' button?
    They wouldn't be required to use the carried over text, but it will save time and prevent possbilty illogical filenames.
    Anyone? Thanks!

    Hi
    I know but you can try to use the field-symbols
    DATA: WI_AUFK TYPE CI_AUFK.
    DATA: FIELD(30) TYPE C.
    FIELD-SYMBOLS <FS> TYPE ANY.
    FIELD = '(PROGRAM NAME)STRUCTURE NAME'.
    ASSIGN (FIELD) TO <FS>.
    WI_AUFK-FIELD1 = ....
    WI_AUFK-FIELD2 = ....
    MOVE-CORRESPONDING WI_AUFK TO <FS>.
    So you're looking for the name of the program and the structure.
    I suppose they can be: SAPLCOIH, CAUFVD, so:
    DATA: WI_AUFK TYPE CI_AUFK.
    DATA: FIELD(30) TYPE C.
    FIELD-SYMBOLS <FS> TYPE ANY.
    FIELD = '(SAPLCOIH)CAUFVD'.
    ASSIGN (FIELD) TO <FS>.
    MOVE-CORRESPONDING <FS> TO WI_AUFK.
    IF WI_AUFK-FIELD1 IS INITIAL
    WI_AUFK-FIELD1 = ....
    ENDIF.
    IF WI_AUFK-FIELD2 IS INITIAL
    WI_AUFK-FIELD2 = ....
    ENDIF.
    MOVE-CORRESPONDING WI_AUFK TO <FS>.
    Max

  • How to have pop-up populate other field

    Hi--
    I'm trying to make a small simple form, and I want the user to be able to select say, an item from a popup menu, and have the price field fill in determined by what they select.
    Is there a way to do this?
    Thanks.

    Ok. I've added some javascript I found by googling the problem and made a new page which has the following code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title><script type="text/javascript">
    var colors = new Array();
    colors["apple"] = "red";
    colors["grape"] = "purple";
    colors["milk"] = "white";
    colors["cheese"] = "yellow";
    colors["chicken"] = "white";
    colors["beef"] = "red";
    var groups = new Array();
    groups["apple"] = "fruit";
    groups["grape"] = "fruit";
    groups["milk"] = "diary";
    groups["cheese"] = "diary";
    groups["chicken"] = "meat";
    groups["beef"] = "meat";
    function printColorAndGroup(){
      var value = document.getElementByName('food').options[document.getElementByName('food').selectedIndex].value;
      document.getElementByName('food_group').value = groups[text];
      document.getElementByName('food_color').value = colors[text];
    </script>
    </head>
    <body>
    Food:
    <select name="food" onchange="printColorAndGroup()">
      <option>apple</option>
      <option>grape</option>
      <option>milk</option>
      <option>cheese</option>
      <option>chicken</option>
      <option>beef</option>
    </select>
    Group:
    <input type="text" name="food_group">
    Color:
    <input type="text" name="food_color">
    </body>
    </html>
    But when I run this, nothing happens. I've also, btw, tried this with the script in the body.
    What am I doing wrong?
    Thanks.

  • Populate date fields when closing or canceling document

    When any document closes or is canceled, populate the existing close date and cancel date with the date of the transaction. This would greatly help custom reporting.

    Hi!
    1) in query designer , go to properties of keyfigure there u can change the display name just try to change the name thats visible by default  u can see the name of keyfigure which can be changed.
    2) & 3) u have to use abap code i n update routine and updates rules are in BW
    just search the forum for examples there are  a loot of them in SDN.
    if u r using 2004s
    http://help.sap.com/saphelp_nw04s/helpdata/en/e3/732c42be6fde2ce10000000a1550b0/content.htm
    else
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a64fae07211d2acb80000e829fbfe/content.htm
    Message was edited by:
            Mohan Krishna

  • TextFields: saving user input as variable to populate other fields

    Hi,
    For a complex form project, I am first trying to create a basic "proof of concept" form: in the complex project, the user will enter data in several TextFields and depending on what is entered, this will make visible further TextFields to be completed or TextFields which will need to be populated with the data that the user enters.
    But as a novice using Designer ES2, I need to see if I can first create some basic functionality in a "proof of concept" form. First: to be able to set up TextField1 on page 1 to capture the user's first name which can then be displayed in additional TextFields on pgaes 2-6 (for "proof of concept" purposes, it would be helpful to have the user's entered first name display in TextField2 on page 2). I've been stuck trying to get this to work, not sure what JavaScript will save the entered first name in TextField1 and then populate it into TextField2 on page 2? Which event to use to get it to show on page 2? (Can't use Binding to Global variables with TextFields having same Data Binding name in the more complex project, so need to try to achieve this by scripting only.)
    Any help with this "proof of concept" scripting would be appreciated.
    Regards,
    saratogacoach

    You always use the rawValue to assign a value to a field in the form. The field can be anywhere in the form (means any page).
    The only thing you need to mention is the path of the field in the expression.
    //For example you want to populate TextField2 in Subform2 inside Page2 with the data from TextField1 in Subform1 inside Page1. You can assign the same value to different fields in multiple pages.
    Page2.Subform2.TextField2.rawValue = Page1.Subform1.TextField1.rawValue;
    Page6.Subform6.TextField6.rawValue = Page1.Subform1.TextField1.rawValue;
    Thanks
    Srini

  • Auto populate other fields bases on the first 2 fields

    Hello,
    I have a form that has 5 fields in which the first 3 fields are pre-populated from the 1st web service based on their user id and now I'd like to have the other 2 fields to pre-populate bases on that first 3 fields that execute from a 2nd web service but having issues on that. If I have it manually enter the input than it work but I could not make it work by auto pre-populate bases on the first fields that already pre-poulated. Can you please advise on this..
    Thanks in advance,
    Han Dao

    Hi Paul,
    I use Form:ready to trigger the 2nd WS as the same one for the 1st one. I use AWS_ASSIGNED_ID (hidden field) to control both of the WS. I am not sure that I understand you correctly about the two sets of input output execute bindings for those fields.  Can you please explain a little bit more.
    Thanks, Han

  • Auto-populate form fields based on end user input?

    I'm currently attempting to create a new form that has a combo box "Locations" with various options.  What I'm looking to do is have another text field auto populate other fields related to that location (such as address, contact information) to save on time and reduce opportunity for end user errors in input.
    What are my options for accomplishing such a task?  Some form of binding fields with a MS database possibly?
    Thanks in advance for any advice and assistance on this matter!

    Paul,
    The form and (potential) database would be located on a shared drive on the company network in which those that would use the form already have access to.
    The pc's that user's would be using have Reader 9.
    The pc I'm using for developing this form has LC Designer 8, Acrobat Professional 8, and Reader 9.
    Ideally, I would "like" for the end user to have the ability to add new locations, addresses, etc ... in the event it is needed, although this would not be likely to come up.
    Based on the software I have on hand, and the need to not incur additional expenses, what would you suggest?
    Thanks again Paul!

  • How do you auto populate a dynpro field when hit key while in other fields?

    This is a dialog programming question for a custom dialog program (it is NOT an SAP program).
    I have a dialog program that neds to be changed to accomodate the following.
    i have searched SDN and can not find anything to resolve this issue.
    I have a screen with multiple lines, scrolling, etc.
    The first field in a line is a required entry.
    There are two date fields that need to be automatrically populated when a value is entered in the first field.
    In other words - when the user enters the first field value and then tabs to next field (or they may press enter, etc.) i need to populate the date fields on the same line and display them back to the user immdeately.
    I can not get this to work - any help most appreciated.
    Thanks.
    Scott

    Unfortunately, there's no 'tab-out' event in ABAP standard dynpros - you've got to trigger a PAI event to make that happen (such as hitting 'Enter').

  • Populate fields when creating an new record

    Hello,
    When I create a new record from an other record type (ex: a service request from a task), I would like to pre populate some fields which are common to the task and the SR (ex: Owner, Account, Contact) and already on the task record.
    I have read that I could use the joinfieldvalue function with the post default activated.
    But the fields Owner, Account and Contact are read only picklist on the service request record and I am not allowed to use the default feature...
    Could you help? Do you have any idea?
    Thanks in advance
    Laurent

    Hi, As a service request can have multiple activities and you dont have the activity field (primary) in the service request, i dont think it is possible to acheive your requirement through JoinFieldValue. On the other hand if you like to default activity fields on basis of the associated SR to activity that is possible as the activity has the associated SR information. Hope it helps
    -- Venky CRMIT

Maybe you are looking for