How to change the caption of a field with a button?

I have serious trouble, don't know why, in order to change the caption of a field.
I can't do it with a button as in any other way...dropdown list, ecc...
Assumes that we have a button and "on click" i want to change the caption of a numeric or text field.
form1.ppp.Button1::click - (FormCalc, client)
NumericField1.caption.value.text.value = "whatever you want to set it to";
TextField1.caption.value.text.value = "whatever you want to set it to";
xfa.form.form1.ppp.NumericField1.rawValue = xfa.form.form1.ppp.NumericField1.rawValue + 1;
The numerical value inside the numericalfield1 is increased each click...but the caption still the same.
Why this happen?
I check many threads on this forum and on google and i still find these samples...
please help.
Thank you

Yes, it is. Also in preview i checked "dynamic XML". is it right?
i try to download this sample while searching in the forum to solve my problem
https://acrobat.com/#d=pxtis4z3OxCqWxajZwDS2Q
i try to add to that form my code and it's work!! i can't undersand why...
Below you can find my PDF...i can't understand why here the same code doesn't work
http://www.hsc350.it/download/Untitled2.pdf
Thank you again!

Similar Messages

  • How do I change the text in a field with radio buttons or check box?

    Hi All:
    I have a form that has a list of things with check boxes (could be done with radio buttons) at the bottom. The client wants a single field at the top of the form that repeats the text next to the checkboxes. For example if a user checks the box next to the words "You did thing 1 wrong" the client wants "You did thing 1 wrong" to appear in this text box at the top of the form. If the user checks the box next to the words "You did thing 2 wrong" the client wants the words "You did thing 2 wrong" to appear in the magic box at the top of the page. There are 10 different check box options, so the box at the top would need to be able to have 10 different things in it.
    Client is not interested in a drop down menu. I asked.
    I am in a bit over my head here, so my question is twofold.
    1. Can you do this in Acrobat Pro 10 on a Mac?
    2. Can you supply me with code?
    Thanks in Advance,
    Amy W.

    Create a text field and make this script its custom calculation script :
         var a ="";
         if (this.getField("Check1").value == "Yes"){
         a="You did thing 1 wrong";
         event.value = a;
    Also, replace "Check1" with the name of your check box or radio button, and give it an export value of "Yes".

  • How to change the lenth of existing field in sap standard table

    Hi all,
    can anybody help,my requirement is, how to change the length of existing field in sap standard table....
    thanks in advance..

    Which field are you thinking of in particular?  Are you wanting to increase or decrease the length?
    Some fields are used so extensively that a change to their length will mean adjusting many tables, some of them potentially very large, and hence taking a long time to adjust.
    Some standard SAP programs expect certain fields to be of specific lengths and won't work if the length is changed.
    Some screens could cease to work.
    If you decrease length, then you could lose data.
    matt

  • How to change the text of a field in organisational assignment.

    hi gurus,
    how to change the text of field MSTBR (super visor) to a differnt name in info type pa0001.
    i have changed the field name in cmod , changed name appears in table.but it is not appearing in the info type screen 0001.
    how to resolve this pls help me..

    hi,
    The Field showing in the infotype 1 is FORPR.
    Change the text of this Field in CMOD.
    CMOD ->Go to ->tect Enhancements->keywords-> Change ->FORPR
    Change the text and check again.
    Regards,
    Manoj.

  • How to change the width of a field?

    Hi all,
    I would like to decrease the width of a field on my report.
    But I can't do it in the Property palette. I am not able to change the width property. The width of the database column is varchar2(255). I do not want to decrease the length of the database column, but only the width property of the field.
    Any ideas?
    Regards

    As far as I knows, you can only increase the width of a
    character column. If you wish to decrease it, I would think
    you'd have to drop/delete the whole column and recreate it,
    loosing all your data in the process (unless you create a
    temporary table into which you copy the data first, and then
    copy it back into the "new" column - the oracle db will truncate
    the data automatically).
    SQL Plus is very well suited for the task, but requires you to
    write the appropriate SQL statements yourself. Other tools may
    simplify this for you (I use SQL Plus myself).
    Hope this helps.
    Eric (guest) wrote:
    : Hai, How to change the width of the field in a particular
    table.
    : I try to do so by using 'Schema Builder ver 6.0', but the
    result
    : come with a message like below :-
    : OBE-15472: Cannot decrease length of existing column
    : 1. where should I be to modify the column width ?
    : 2. is SQL Plus 8.0 can do so? if yes, what's the syntax ?
    null

  • How to change the attributes of screen fields dynamically

    <b></b>
    well i have created a table by name empmaster_data with following fields.
    *emp_id.
    *emp_fname.
    *emp_lname
    *dob.
    *doj.
    *dept.
    *desig.
    now using a single screen i want to create,change and display the information.even i am using save and exit button.
    now i want to change the attributes of screen fields dynamically like active,input,output,invisible.

    Hi,
    Have Different Radio Buttons for the purposes what you have and use AT Selection Screen Output, Under the event Use loop at screen and with continue with your requirement.
    Hope This Info Helps YOU.
    <i>Reward Points If It Helps YOU.</i>
    Regards,
    Raghav

  • Change the widht of a field with lingo

    Is it possible to adjust the widht of a field with lingo? Or adjust the length of the field to the text content?
    Thanks.

    Thenks Sean,
    I have two field set to "fixed" for a pop up menu.
    The script for the first field is this:
    property variabileLinea
    on mouseDown
      sprite(me.spriteNum).member = member("MyField1")
    end
    on mouseUp me
      sprite(me.spriteNum).member = member("MyField3")
      member("MyField2").line[1] = member("MyField1").Line[variabileLinea]
    end
    on EnterFrame me
      variabileLinea = _mouse.mouseLine
      member("MyField1").Line[variabileLinea].hilite()
    end
    "MyField1" adjust the lenght of the field to the text content, "MyField2"  after the mouse up no. Any suggestion?
    Thanks.

  • How to change the caption in data entry selection screen??

    using cats0009 i populated the data into wbs desc and a/a desc but
    but i am not able to change the name(caption of additioanl field) as 'wbs description'. and A/A desciption.
    can anyone please help me out how to do this...

    You don't mean selection text do you? Can you be more specific?

  • How to change the  attribute of screen field to drop down list dynamically

    Hi All,
      Col X                   Col Y
      A                        input field
      B                       drop down list
    This is a tabular disply where the Screen field attribute for Col y  is NO DROP DOWN BOX.
    My requirement is to change the attribute of COl Y to DROP DOWN list depending on the value of
      COL X  dynamically.

    Dear Ajay,
    Actually this requirement is to enhance the standard screen for Tcode :EHSVU21.
    So depending on the 1st Column(Test no)  value ,i have to change the 3rd Column(Low.norm.result)
    property either to DROP Down or not.
    So in the PBO only the changes to be made and there is no field in SCREEN internal table for changing the attribute to DROP down. I checked SCREEN internal table where the field VALUE_HELP and REQUEST is useful but not  suitable for my case.
    Any solution available?

  • Change the caption of a TextField with JavaScript

    Hi,
    I'm working on an multi language form with the Livecycle Designer 8.2.
    My form includes a couple of Text fields with captions in English. I've implemented a button to change the language of the captions into French through a "click" JavaScript Event.
    But I'm still not able to perform the caption language change with my code:
    Myform.multilang.bt_english::click - (JavaScript, client)
    xfa.resolveNode("tf_site.caption.value.#text").value = "French Caption";
    Has there anybody an hint for me?

    Is you form a dynamic or static PDF? Ensure that it is dynamic.

  • How to change the colour of text property in Radio button?

    Hello All,
    I am having some radio buttons in my application. i want to change the colour of text property by default it is black.
    Could any one please suggest me how to do it?
    Thanks in advance.

    Currently you cannot, it is a known (and hopefully reported, and at least addressed for next version) bug (or limitation, as they rushed to get the components out before JavaOne...).
    People reported they just put an empty text and put a label beside the component. Ugly workaround (bad when the component will be complete) but if it works... :-)

  • How to change the computer my ipod syncs with?

    i got a new laptop;
    my ipod (classic) and my iphone sync with the old laptop.
    how do i change the sync settings so that my ipod and iphone would now sync to the new laptop?
    i have windows xp in old and windows7 in new laptop..

    follow the steps given here...
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive

  • How do change the duration of multiple clips with timestreach?

    All of the options are grayed out.

    AdminID
    What version of Premiere Elements and on what computer operating system?
    Let us assume Premiere Elements 11, 12, or 13 on Windows 7, 8, or 8.1 64 bit for the purpose of an example.
    1. Select all the clip on the Timeline (all at one time) that are being targeted for same duration change.
    2. Right click anywhere in the selection, select Time Stretch, and, then in the Time Stretch dialog, change the duration 00;00;0O;00. (hours; minutes; seconds; frames).
    Do you have one of those versions that I mentioned, making sure to select all the involved clips ahead of time before going
    after Time Stretch?
    Selections
    If you want all the clips on the Timeline, then Edit Menu/Select All
    or
    Hold down the Shift key of the computer main keyboard, and, with the mouse cursor, click on each of the clips to be involved in this duration change
    or
    With the mouse cursor, draw a rectangle around the clips to go into the selection in order to select them
    Any questions or need clarification, please do not hesitate to ask.
    Thank you.
    ATR

  • How to change the label of a component with javascript?

    Hi, i need to change the label of a component dinamically. I tried:
    if (document.getElementById('P34_ID_OPERACION').value==2) {
    document.getElementById('P34_ID_USUARIO_DEST').label = 'Encargado:';
    if (document.getElementById('P34_ID_OPERACION').value==3) {
    document.getElementById('P34_ID_USUARIO_DEST').label = 'otro texto:';
    but doesn't work.
    any ideas?
    Edited by: Andres Vilallave on 16-mar-2010 12:49

    Hi,
    I think "label" is not valid attribiute for "input" tag.
    Create new hidden item P34_LABEL. For item 'P34_ID_USUARIO_DEST', put label value as +&P34_LABEL.+
    Now try the following JS
    <script>
    if (document.getElementById('P34_ID_OPERACION').value==2) {
    document.getElementById('P34_LABEL').value = 'Encargado:';
    if (document.getElementById('P34_ID_OPERACION').value==3) {
    document.getElementById('P34_LABEL').value = 'otro texto:';
    </script>Cheers,
    Hari

  • How to get the view in editable mode with OCA button.

    Dear Experties,
    I am new to CRM WEB UI ,I have got the requirement to develope a view with OCA button on it and when i click on the button it should direct to the second view  and it should open with edit mode.
    The Source view is table type and target view is form type.
    I am able to achieve this but unable to get it in editable mode.
    I have added the below code in do_prep_output method but getting dump  at the line
    lr_entity ?= me->typed_context->EMAINLEG->collection_wrapper->get_first( ).
    The error message is
    Long text During a 'CAST' operation ('?=' oder 'MOVE ? TO')a type conflict occurred. The source type '\CLASS=CL_BSP_WD_MIXED_NODE' is not compatible for assigning with the target type '\CLASS=CL_CRM_BOL_ENTITY'.
    Please somebody help me on this
    lv_display = me->view_group_context->is_view_in_display_mode( me ).
      IF lv_display EQ abap_false.
      ELSE.
         me->view_group_context->set_view_editable( me ).
      ENDIF.
      DATA:    lr_tx           TYPE REF TO if_bol_transaction_context,
              lr_entity       TYPE REF TO cl_crm_bol_entity,
               lr_comp type REF TO ZL_BT131QI__BSPWDCOMPONEN_IMPL.
      lr_comp ?= me->comp_controller.
      Check lr_comp is BOUND.
      lr_entity ?= lr_comp->typed_context->BTADMINI->collection_wrapper->get_current( ).
      CHECK lr_entity IS BOUND.
      IF lr_entity->lock( ) = abap_true.
        me->view_group_context->set_view_editable( me ).
      ENDIF.
      lr_entity ?= me->typed_context->EMAINLEG->collection_wrapper->get_first( ).
      WHILE lr_entity IS BOUND.
        lr_entity->lock( ).
        lr_entity ?= me->typed_context->EMAINLEG->collection_wrapper->get_next( ).
      ENDWHILE.
    The following error text was processed in the system:
    Source type \CLASS=CL_BSP_WD_MIXED_NODE is not compatible, for the purposes of assignment, with target type \CLASS=CL_CRM_BOL_ENTITY
    Exception Class CX_SY_MOVE_CAST_ERROR
    Error Name MOVE_CAST_ERROR
    Program ZL_ZBT131QI_EMAINLEG_IMPL=====CP
    Include ZL_ZBT131QI_EMAINLEG_IMPL=====CM00C
    ABAP Class ZL_ZBT131QI_EMAINLEG_IMPL
    Method EH_ON_EDIT
    Line 33 
    Long text During a 'CAST' operation ('?=' oder 'MOVE ? TO')a type conflict occurred. The source type '\CLASS=CL_BSP_WD_MIXED_NODE' is not compatible for assigning with the target type '\CLASS=CL_CRM_BOL_ENTITY'.
    Thanks in advance!!!

    Hi,
    in CRM a context can consist of model nodes,  value nodes and, unfortunately, mixed nodes. While mixed nodes implement the same interface as model nodes they can't be casted into a CL_CRM_BOL_ENTITY directly. Instead you need to perform the following conversion in order to get the model node from the mixed node:
    DATA:  mixed_node     TYPE REF TO cl_bsp_wd_mixed_node,
               entity              TYPE REF TO cl_crm_bol_entity.
    mixed_node = me->typed_context->EMAINLEG->collection_wrapper->get_first( ).
    entity = ?= mixed_node->if_bsp_wd_ext_property_access~get_model_node( ).
    Best,
    Christian

Maybe you are looking for

  • SAP_COLLECTOR_FOR_PERFMONITOR getting cancelled

    Dear All, The job SAP_COLLECTOR_FOR_PERFMONITOR is getting cancelled daily at 7.00 AM. It is scheduled to run hourly. All other times it finishes succesfully. But only 1 time at 7 it gets cancelled. The job log is :- Date       Time     Message text 

  • One Instance of two instance/nodes Crash in RAC

    Dear all, I setup two nodes RAC 9.2.0.2 in HP Alpha OpenVMS 8.2 , one node is CAPL21(instance number=1) and another is CAPL22(instance number=2) . when normally run about five days. the second instance CAPL22 terminated abnormally, I check the alert

  • Formatting text (bold, italics, etc) in webmail client does not work in Firefox; works in IE and Chrome

    I use the Smarsh webmail client for my company's email service. I have been using Firefox in the office for quite some time, and only recently has this issue come up. When composing emails using the Smarsh client, I cannot format text (using bold, it

  • WCC Case Insensitive Search

    Hello everyone, I am using OOTB DATABASE.METADATA as the search engine. I wanted to know how to make it case insensitive search. thanks

  • Failing integrated video board on 2011 MacBook Pro

    Hello, I have a 2011 MacBook Pro (2.2 GHz Intel Core i7, 4 GB 1333 MHz DDR3 memory) running OS 10.6.8. I inherited it from a colleague and use it for work and the discrete video card (AMD Radeon HD 6750M) started to fail late 2013 leading to the clas