Display values of fieldson an online form

I'm at a loss as to how this Javascript works.
I have a form with 2 input fields on page 1 (Fields are team1 and Division1). I would like to have both these fields displayed on page 2, however they are not input fields, only display fields. I defined the page 2 fields as team2 and division2. I'm a newbie at Javascript and i've tried all sorts of tricks found on these pages, but to no avail.
I've added the following Custom Calculation script to team2 yet I keep getting an error message in debugger
this.getField("team2").value = this.getField("team1").value;
TypeError: this.getField("team2") has no properties
1:Field:Calculate
Really at a loss. What is the best way to have the user input a field value and display that same value in a different field (read only).
Thanks for helping!

The correct code for the custom calculation script would be:
event.value = getField("team1").value;
For more information, check out the "event" object in the Acrobat JavaScript reference.
George

Similar Messages

  • Why are images not included when I save my form as a pdf? They are displayed just fine in the online form.

    When I include images in a form I create with FormsCentral they look great online, but when I use FC to export the file to PDF the images disappear leaving white space. All other form elements work just fine.

    Hi;
    For anyone reading this - there are a lot of useful documents and FAQs in this Forum that cover issues such as this one.  On the main FormsCentral Forums page there is a list of popular FAQs and a link to "View complete list of FAQ's": Frequently Asked Questions
    Here is the FAQ for Image does not show up in PDF
    Thanks,
    Josh

  • Value help in  Online Form

    Hi,
      I am creating an online form.using webdynpro.
      My requirement is that I require value help in dropdowns directly from the Sap.
      I have tried using 'Value help drop down list' from webdynpronative tab in object library.But still it is not working.
    Kindly help.
    Thanks,
    Lina

    Hi,
    I have followed the  following steps for the creation of field with search help.
    1.I have created a Z table having one field LAND1 to which I have attached the search help H_T005_LAND.
    2.In se80,I have created a webdynpro component.
    3.In the context tab of Main View,I have created a Node Adobe .
      In adobe ,I have created another node of type Z table in which it has a field LAND1.
      When I click display on Land1,it shows
      Input help mode  : automatic
      Determined Input Help  : H_T005_LAND  automatically.
    4.I have created an attribute to context :PDF_source of type xstring.
    5.In layout tab,in properties I have binded the data source to context binding i.e.adobe and pdfsource binded to pdf source of context,have checked the enabled property.
    6.I have created a Z  form with interface of type xml schema based.
    7.In layout,in object library from webdynpronative tab i have dragged and dropped value help drop down list.
    8.In the object pallete ,in binding tab of value help drop down list ,I have binded the land1field without updating any properties.
    9.In utilities ,i have inserted webdynpro script.
    10.I have saved and activated the form,interface and webdyn component.
    11.Then I have created webdyn application and test.
    12.In the output ,I m gtn the field with dropdown .I am able to insert the value but F4 is not working.
    Kindly help where I have made a mistake.
    Thanks,
    Lina

  • Values not capture during adobe form display on pa30.

    Hi Experts,
    I have attached Adobe Form into Transaction PA30 in which form values are not capturing during form display,
    But its displaying at the time of form generation on ZHINUREQ_CORRS_LETTER program.
    Kindly give suggestion.
    Regards,
    Abdul

    Hi Saujanya,
    This could by caused by the network, the used browser or additional browser plugins. Try to do the following:
    1. Test with an alternative browser (if you are on a SP which supports different browsers than IE, see PAM, http://service.sap.com/pam): If it works with Firefox, then you know the problem is caused by IE and not by the OS, network, ...
    2. Deactivate/uninstall all additional browser plugins/add-ons (like google toolbar, Yahoo toolbar, ...)
    3. Create a client trace as explained in SAP note 999998. Maybe there's a hint in the trace. Watch for something like "ERROR".
    4. Install a HTTP sniffer (like "fiddler") on both machines and compare the network traffic. Maybe there's a request with a 4xx HTTP status code?
    5. How is the machine connected to your network? Is it behind an additional webproxy?
    Hope one of this helps,
    Ralf

  • Display lookup value for update in a form field

    OK, this seems like a simple thing to do, but for some reason I can't seem to figure it out.
    I have a table with several foreign keys which are number ids. I've created a form using shared component dynamic LOVs for those fields where the LOV retrieves display values from the foreign key related tables . So far, so good. If I run the form to create a new record, it works fine. But if I call the form from a report with a link column (ala Master-Detail Form) for update purposes, all the data is fetched into the form properly except the foreign key related table LOV display data. The LOV data fetched into the fields is always the first value in the LOV list, and not the value based upon the foreign key values in the record. I want the value displayed to be based upon the foreign key in the record.
    What am I doing wrong?
    Edited by: 950335 on Aug 7, 2012 2:52 PM

    Figured it out.

  • Display values in the called form whose data is inserted in calling form

    Hi,
    We have a custom form (Form 1) wherein we call another form (form2) when a button is pressed in Form1.
    Scenario
    Form 1 - contains 3 blocks -
    -->Header Block - HB,
    -->Child Block - CB1 - which is child of HB and is multi records block
    -->Child Block CB2 - Child of CB1
    The canvas of forms 1 holds only HB and CB1 and due to business reasons we are populating CB2's table (say T2) in the post insert trigger of the CB1.
    A button is pressed which opens a new form - a display only form (form 2) .
    Form 2 just fetches the records that are inserted into the table T2. Note that Form 2 is also a multi record block.
    Issue
    Assuming that I update some value in Form 1 - block CB1 and save it ; and then click on the button...how should I make sure that the changed values are reflected in the Form 2.
    Questions
    1) On updating CB1 values - since this impacts values in CB2 T2 table- which trigger should this be handled.
    2) how should we make sure that on clicking the button that opens Form 2, the changed values in T2 are reflected.
    Regards
    S

    948611 wrote:
    Hi,
    We have a custom form (Form 1) wherein we call another form (form2) when a button is pressed in Form1.
    Scenario
    Form 1 - contains 3 blocks -
    -->Header Block - HB,
    -->Child Block - CB1 - which is child of HB and is multi records block
    -->Child Block CB2 - Child of CB1
    The canvas of forms 1 holds only HB and CB1 and due to business reasons we are populating CB2's table (say T2) in the post insert trigger of the CB1.
    A button is pressed which opens a new form - a display only form (form 2) .
    Form 2 just fetches the records that are inserted into the table T2. Note that Form 2 is also a multi record block.
    Issue
    Assuming that I update some value in Form 1 - block CB1 and save it ; and then click on the button...how should I make sure that the changed values are reflected in the Form 2.
    Questions
    1) On updating CB1 values - since this impacts values in CB2 T2 table- which trigger should this be handled.
    2) how should we make sure that on clicking the button that opens Form 2, the changed values in T2 are reflected.
    Hi S
    This is your STATUS
    Total Questions:      16 (15 unresolved) YOU didn't keep track your post and also don't close your thread when your problem is solved without marking the right answer. For this when people search this forum and will get similar problem and your post ..they are confused, is there so solutions ???
    Hope remember this...
    Let's come to your questions.
    1) On updating CB1 values - since this impacts values in CB2 T2 table- which trigger should this be handled.You can use post-insert for reflect after insert, and post-update to get reflect the update.
    and
    2) how should we make sure that on clicking the button that opens Form 2, the changed values in T2 are reflected.when opening the form pass parameter to second form and execute the related data.
    For more check the similar post
    1. {thread:id=2513529}
    2. Calling a form and passing a context
    Hope this helps
    Hamid
    Mark correct/helpful to help others to get right answer(s).*

  • Sales Order form error  "Not able to retrieve Display values for Service"

    Hi,
    Few of our orders flash the below error message when the order is queried
    "Not able to retrieve Display values for Service"
    Below are the points I observed
    1.The orders I am referring to are imported order via EDI interface.
    2.The service reference type code has value of ORDER, however no other service related fields (like service reference line id) have any values.
    3. The item is not a service item (service tab in Item setup is disabled)
    4. Same item when imported with value of "Customer Ordered" in "service reference type code" field, does not throw an error.
    5. If I update "service reference type code" with value null or change it to CUSTOMER_PRODUCT, the error disappears.
    Can someone explain the significance of this column value and what could have been causing this error message?
    May be there are some dependent fields/setups which must have a value when service reference type code =ORDER.
    Thanks in advance,
    JC
    Edited by: user10174990 on Oct 25, 2012 10:58 AM

    Hi,
    Maintain the dafault values using Tcode OISF with respective to Planning Plant you have to maintain the following values like Order Type, Main Work Center, Maint. Plant,Group,Group Counter,Business Area & Task List type.
    or
    Apply these OSS note 150732 / 195993.
    regards,
    Venkatesan Anandan

  • Display Item not showing Text when form is opened in Forms 6i

    Hi,
    I am using Oracle Forms 6i & I have taken DisplayItem control on a canvas and want to show some text over that e.g., "Your Name". For that I set 'Initial Value' property of that control in Property Palette to "Your Name". But I am not getting any such text message when I run the form nor it is coming at form design time. Can anyone please let me know where I am missing and how to display text in forms using DisplayItem control?
    Can you also suggest from where to learn these basic things about Oracle Forms 6i?
    Thanks in advance.

    bootstrap escribió:
    Can I initialize this object using Property Palette? If not why so?
    can you please tell how to use go_block & where to call this method?
    Yes, just as you did with the initial value property, but you have to "initialize" the record in that block. Navigating in runtime to the block is a way to achieve that, so you have to put the "focus" in the block with built-in GO_BLOCK . For example, in the W-N-F-I trigger.
    Another way to put the focus there, as indrabudiantho sugested, is dragging the block to the topmost place in the list of block in design time. Thus, when you enter your form in runtime, the focus will go to the first navigable item in the first block as defined at design time.
    About the resource docs, I think there was a "Oracle forms developer guide" bundled in paperback with a quite old version of the product which wasn't too bad. Not the "forms builder reference" , which is more or less the online forms help, but the guide. Also, there must be commercial books about forms & reports.

  • How to get the values enterd in the interactive form and store it in table.

    Hi Experts,
    I have a requirement, i want to display the editable fields in Adobe form and have a button.If i click the button what i enter in the fields that will be store in the table.
    I tried but the button action is not going....
    In the Form i put the layout type as : xACFLayout.
    and in the webdynpro the enabled property checked and display type put the activeX still the form in the fields are in non-editable....
    Can you please give me step by step procedure for the same.
    Thank you in advacne..
    Thanks.
    Rrrr.

    Hi,
    I put the form layout is ZCI.
    When i click the button the acion was not trigerring.
    Please help me in this ASAP. It's imp for me..
    For your understand;
    My Requirement:
    I have a interactive form in that 2 input fields 1. First name 2.Last name and one button .
    If i clcik the button what i enterd in the above 2 inputfields i have to get store it in R/3 table.
    I tried this one.
    1. Created the view in the context created the node "adobe" cardinality... (1..1) and below created the child node "input" cardinality(1..1) and 2 attributes first name and last name.and other attribute pdfsource type xstring.
    created the UI element Interactive form, and chekc the enabled checkbox, and display type "native" and binding the  data source property to node  "adobe" cardinality... (1..1) and pdf source to pdfsource node. and templet  gave  "ZFORM" and gave the interface name "ZINTERFACE" and drag and drop the node elements into layout
    and created the webdybnpro button and webdynpro event gave *clcik and javascript and save activated the form.
    2. In the Ui elemt in view action onsubmit wrote the code to get the context element values and insert  that int0o table.
    But here the Submit button action was not trigerring.....................
    can you please help me in the same..... ASAP give any sugesstion what i have to change in this scenario.....

  • Display Display value in Red Color in Pop Up List of value Item

    Dear All,
    i have created an Pop up List of Value item.I need to display Display value in Red Color in Pop Up List of value Item.
    What should i pass in HTML Form Element Attributes .I have try using
    style="font-color:red";That code.
    How can i display Display Value in Red Color.
    Thanks

    Is this what you are looking for?
    http://apex.oracle.com/pls/apex/f?p=42778:12
    If so..
    * Go to Shared Components -> Templates -> Select Type as "Popup List of Values"
    * Edit Popup LOV template
    * See the class name being used for div under Result Set section. In My case, its t1PopupBody
    * Under Page Attributes -> Page HTML Head section append following CSS
    <style>.t1PopupBody a{color:red;}</style>* Apply Changes
    If its not working, then inspect the pop-up lov with firebug and update CSS definition accordingly.
    Regards,
    Hari

  • How to display the "display values" in READ Only mode for a SHUTTLE

    Hi,
    I have a form item of type *'Shuttle'* and using the following LOV.
       select DEPTNAME d, DEPTNO r
        from  DEPTIn normal mode..it displays the department name and internally store the Deptno..
    Now I converted this item to Read Only mode using Read Only Condition Type
    the problem is as soon as it becomes read only...it displays the deptno....not the department name
                Department-   10:20:30How can I display the "display values" i.e the actual department name in read only mode..
                Department-   Department1:Department2:Department3Thanks,
    Deepak

    Hi,
    It seems feature. Shuttle is span tag when it is read only.
    Work around could be that
    you compute display as text item with LOV display value according shuttle session state and show shuttle and this item conditionally depend case
    Br, JAri

  • HOW TO SHOW A DEFAULT VALUE IN AN UPDATABLE TABULAR FORM

    I have an updatable form that has three columns:
    Employee Name (display only)
    Reporting Name (select list)
    Element Type ID (hidden and updatable)
    When the user select a value in the reporting name column it updates the
    element type id with the appropriate value. But when they look at the select list
    it has the select list values as well as the selected value in the list. How do I
    overcome this. My example is setup and ready to be reviewed at http://apex.oracle.com/pls/otn/f?p=32409:1
    Thank you
    Forrest
    p.s. weather in Anchorage Alaska Sunny and 45 degrees!

    Woody,
    I'm a little confused (not uncommon), as I don't understand why you have a hidden column to hold the element_type_id value.
    It looks like you're doing a simple SELECT LIST/LOV that shows the display value and stores the code value. I guess I don't understand why you need the hidden column. Shouldn't the code value end up in the APEX_ITEM array, so you can save it to your table?
    I would think you'd have a hidden value to hold the primary key for your table in one APEX_ITEM array, and the element_type_id column is the second parameter of the APEX_ITEM.SELECT_LIST() call. Then your manual update procedure saves that value to the right record, using the primary key from the hidden column?
    What am I missing here?
    Good luck,
    Stew

  • How to create a display value and a return value for an item

    Hi! I have an item on a form. I want the default value for my item to be :":APP_USER", but the return value, to be the id of my user. I tried to create a PL/SQL Expression for the default item, but it doesn't work. What do I miss?
    It should be something like this, but it's not.
    begin
    select first_name || ',' ||last_name as "Employee",
    id_employee -- display value,return value
    from employees
    where id_employee = :APP_USER;
    end;
    Does anyone know?
    Thanks!
    Vitaly

    Hi VItaly,
    Display value and return value concept applies very well in case of a Combo box if i am correct, I don't know what type of item is your's.
    But any way, you can have a workaround like,
    Create a hidden item such that it's default value should be ID of the user which can be get from db by using :APP_USER.
    Use the this item for your references.
    I think this will meet your requirement.
    Thanks
    Kumaraswamy.

  • How do I display my pdf output on interactive form?

    Hi all,
    I use interactive form ui element and bind its pdf source property to my attribute 'SOURCE' typed xstring.
    I call my custom fm to process some data return me an itab which consist of lines of pdf binary data. I moved it to another itab which is lines of hexadecimal text. I have a big problem displaying my lt_xstring below on ineractive form. Either I get type not compatible or acess via null object reference error issues. Any idea anyone???
    TYPES: BEGIN OF ty_buffer,
             lv_buffer TYPE xstring,
           END OF ty_buffer.
    TYPES: BEGIN OF ty_string,
             lv_string TYPE string,
           END OF ty_string.
    TYPES: BEGIN OF ty_xstring,
             lv_xstring TYPE xstring,
           END OF ty_xstring.
    DATA lt_buffer TYPE STANDARD TABLE OF ty_buffer.
    DATA lt_string TYPE STANDARD TABLE OF ty_string.
    DATA lt_xstring TYPE STANDARD TABLE OF ty_xstring.
    DATA lw_buffer TYPE ty_buffer.
    DATA lw_string TYPE ty_string.
    DATA lw_xstring TYPE ty_xstring.
    DATA lw_pdf     TYPE soli.
    *EXPORT my_data = lv_string TO DATA BUFFER lv_buffer.
    *IMPORT my_data TO lv_xstring FROM DATA BUFFER lv_buffer IN CHAR-TO-HEX MODE.
    LOOP AT ltg_pdf INTO lw_pdf.
      lw_string-lv_string = lw_pdf-line.
      EXPORT my_data = lw_string-lv_string TO DATA BUFFER lw_buffer-lv_buffer.
      IMPORT my_data TO lw_xstring-lv_xstring FROM DATA BUFFER lw_buffer-lv_buffer IN CHAR-TO-HEX MODE.
      APPEND lw_xstring to lt_xstring.
      CLEAR lw_pdf.
      CLEAR lw_string.
      CLEAR lw_buffer.
    ENDLOOP.

    Hi Siong,
    If you are using web dynpro than whatever the values presents in the context will be displayed in the Form.
    in case of web dynpro you need to to perform any parsing or transformation.
    Just make sure than you are properly mapping the web dynpro context and Pdf context.
    check your web dynpro component, if you get the correct values in context, than these values will be displayed in fore also.
    Thanks & Regards,
    Arvind

  • I have a online form created with my paid account that has just stopped working.

    I have a online form created with my paid account that has been working for months that just started displaying a message that starts "This form was easily created for FREE with FormsCentral. See how..." The inline frame that it shows up in has also changed to be very small. The form is set to open in FormsCentral and shows the message and inline frame size when I choose preview. What's up?

    Checked when I got back in to work today and everything is working as it should. All of our online forms were screwed up yesterday, but are working this morning. I know this won't help anyone in the future, but just wanted to follow-up.

Maybe you are looking for

  • Lack of BT Sport Support - passed around for three...

    Hi All I have been activated as a BT Sport customer, so why won't it work on my system?  I registered a call to BT on Wednesday of this week, having made sure my card had been acivated, apparently though as an Infinity user I don't need a card for th

  • MIGO_GR Authorization check for PO Document type

    Hi Friends, We would like restrict users processing GR's against certain PO document types. In brief, <b>X</b> group of users are allowed to process GR's against PO document type <b>'NB'</b>  only. This validation should take place soon after they en

  • Acrobat 9 Pro will NOT install (CS4 Design Premium)

    Acrobat 9 Pro will NOT install (CS4 Design Premium) Acrobat Pro 9 will not install (FAILED), although every other program on the CS4 DVDs did install properly. I have followed the instructions, and have tried with no programs running, not even virus

  • How do I add folders in Numbers

    Not sure how to add a Folder to my Numbers application. New spreadsheets are no problem but I would like to combine them into a folder. Thanks,

  • Display Questions for Current T410s Owners

    Hello all, I am in the market for a new laptop and I have boiled it down to the T410s. There is only one issue that concerns me about the actual laptop, the max resolution size. Currently I am using a 15 incher @ 1920x1200 which gives me lots of scre