Problem with the caption.value. #text

I'm do my first measures in the FormCalc language to create PDF Forms to distribute , et what I have to do here is to try to change the caption text of a text field based of a decision made previously by a drop down field in the small script I tried to write it as follows:

var text = Choose ()Elenco1.rawValue ""request number""", " "number required"""( )

if ()Elenco1.rawValue == 1( ) then
$ . Caption.Value . text.value # text =
$ . RawValue Num2Date = (Date (), "YY / MDD_IHS)
ElseIf ()Elenco1.rawValue == 2( ) then
$ . RawValue Num2Date = (Date (), "YY / MDD_UNI)
endif

but fails in the first line . What is the problem ?
Ascolta
Fonética Partitura

You can change the caption TextField1 when running at below the syntax help.

$.resolveNode("__TextField1__.caption.value.#text").value = "New Caption";

Thank you

Srini

Tags: Adobe LiveCycle

Similar Questions

  • Problem with the default value for OAMessageTextInputBean to the controller layout

    Hello

    I encountered this problem when I expand a controller for the page create a work request (/ oracle/apps/eam/workrequest/webui/EAM_WR_WORK_REQUEST_DETAIL_PL). My goal is to re - fill OAMessageTextInputBean 'Additional Description' after the user clicks "Save" or "apply". When I try to change the value of another field, it works correctly, the problem persists for 'Description Addidional' more precisely. I don't know that I have the correct id (I took it from xml received by jdr_utils.printdocument). The journal does not all controllers running after the attempt to set the value.

    Compare these logs:

    [21]:PROCEDURE:[xxfideltronik.oracle.apps.eam.workrequest.webui.xxPageRegionCO]:Goosfraba, pre-added!
    [21]:EVENT:[fnd.framework.webui.OAMessageTextInputHelper]:OAF LOG: Event : Get Attribute Value, in: oracle.apps.fnd.framework.webui.OAMessageTextInputHelper: View:null ,Attribute:EAM_WR_WORK_REQUEST_DETAIL_PL426_EamWrRqlog , Return Value without datatype conversion :4321
    [21]:PROCEDURE:[xxfideltronik.oracle.apps.eam.workrequest.webui.xxPageRegionCO]:Goosfraba, added!
    

    [Descriptive information, does not work]

    and:

    [64]:PROCEDURE:[xxfideltronik.oracle.apps.eam.workrequest.webui.xxPageRegionCO]:Goosfraba, pre-added!
    [64]:EVENT:[fnd.framework.webui.OAMessageTextInputHelper]:OAF LOG: Event : Get Attribute Value, in: oracle.apps.fnd.framework.webui.OAMessageTextInputHelper: View:RequestDetailsVO ,Attribute:PhoneNumber , Return Value without datatype conversion :null
    [64]:EVENT:[fnd.framework.webui.OAMessageTextInputHelper]:OAF LOG: Event : Set Attribute Value, in: oracle.apps.fnd.framework.webui.OAMessageTextInputHelper: OldValue:null ,New Value:4312
    [64]:PROCEDURE:[xxfideltronik.oracle.apps.eam.workrequest.webui.xxPageRegionCO]:Goosfraba, added!
    

    [Phone number, works fine]

    Here is my code for the method of the processFormRequest controller:

    public void processFormRequest(OAPageContext pgCtx, OAWebBean wBean){
         super.processFormRequest(pgCtx, wBean);
        
         String description = pgCtx.getParameter("EamWrRqlog");
         log("Goosfraba: " + description, pgCtx);
    
         if(description != null){
              OAMessageTextInputBean additionalDescription = (OAMessageTextInputBean) wBean.findChildRecursive("EamWrRqlog");
              if(additionalDescription != null){
                   log("Goosfraba, pre-added!", pgCtx);
                   additionalDescription.setValue(pgCtx, description);
                   log("Goosfraba, added!", pgCtx);
              }
         }
    }
    

    A solution would be: -.

    1. create a transitional VO with an attribute, LongDescription.

    2 associate this attribute with the EamWrRqlog field.

    3. in the processFormRequest, set the TransientVO attribute value

  • Two problems with the Acrobat DC text properties

    Since the switch to Acrobat DC, I have two questions, I have not been able to solve on my own.

    I can't change the default color of text in a text box in Acrobat DC. I chose "Text box add", type something in the box, choose 'Text properties,' change the police, size, and color, right-click from the edge of the area, then 'Create the current properties default.' It worked with Acrobat Pro, but with Acrobat DC it doesn't. The text I changed red returned to black. The other properties are OK.

    In Acrobat DC, I added the properties of text for quick access, but it does not work there. I highlight text, click text properties in the Quick Access toolbar, and nothing happens, but if I click on the text properties on the toolbar to comment, then the menu drop down appears and I can change the properties. I don't want to have the opening of the toolbar of comment, too much space on my screen.

    Hello

    We have released an update today that solves both of these problems. Please open Acrobat or Reader DC and visit help > check for updates to ensure that you are on the latest patch.

    Details on the release: https://helpx.adobe.com/acrobat/release-note/acrobat-dc-august-02-2016.html

    Please let us know how it goes.

    Thank you

    -ashu

  • Problem with the prompt value

    Hi Experts,

    need help...

    I have a dashboard migrated to 10g and 11g.

    11 g, I have 4 guests, 2 guest with limited values of 1 invites, rd guest 3 having limited values of the 2nd invites on...

    When I select 2nd guest the 3rd guest showing null values. but in the dash 10g invite him 3rd display of values based on the 2nd quick selection...
    I am facing the problem with prompt 11 g.
    can you guide me how to solve this problem... is there something that I missed after the upgrade? or pls tell me to solve this problem

    Hi try once like that select two guests of dashboard for example the year, half of the year.

    In the half-year prompt, click on the 'Options' tab and check "limit values per Option.

    In this option, you can select column 'year '. Then, you can get data from half of year year corresponding column.

    Thank you
    Please indicate if this helps you...

    Published by: 979493 on February 25, 2013 03:16

    Published by: 979493 on February 25, 2013 03:17

    Published by: 979493 on February 25, 2013 03:17

  • Problem with the creation of text file 9530 unit

    Hello

    I created the text file in the memory of the device "file:///store/home/user/sample/mytext.txt" with a text using my application. He created the file with the extension "mytext.txt.rem". While I couldn't able to read the same file.

    I tested the same application with 8520 and its works very well... It creates the file "mytext.txt" only.

    I don't know why the name of the text file adds extension ".rem" in 9530.

    Could you please help me to findout the solution?

    Thank you

    SmartPhoneDev

    You have enabled encryption.  Have a look here:

    http://supportforums.BlackBerry.com/T5/Java-development/why-my-text-written-to-a-file-on-the-SD-card...

  • I have problems with the resizing of text box. I can only display width or height not both

    I'm new to Flash, I was able to create the text box and adjust the width and height, but now can only set the width. The box height is unusable. Did turn something off? I use the horizontal mode.

    Steve

    If you have the textfield value "Static Text", then the text space extends vertically so that it contains the text that you type in. You can adjust the width and height will change to accommodate the text content.

    If you change the "Input" or "Dynamic" textfield, then you will be able to resize the textfield that you want.

  • Problems with the help of text results in a table

    I am trying to create a script that returns a value based on a persons in a field name, but it does not work for me.

    This is the document level script:

    Here is the script I am trying to use it to get the variables (with the '0', I'm trying to shoot the first number in the table which is the age):

    event.value = personStats(getField("PersonName1").valueAsString)[0];
    

    Where "PersonName1" is the field that contains the name.

    This is the document level script that I use:

    var personStats = { 
        "Jim Bean" : [45, brown, 70, 175], 
        "Nancy Cardashian" : [36, black, 68, 122], 
        "Bobby Gentry" : [72, grey, 71, 165], 
        "Megan Foxx" : [28, black, 67, 126] 
    }
    

    and here is the error I get:

    personStats is not a function

    1:acroform:fumble Range 0:Calculate.

    TypeError: personStats is not a function

    1:acroform:age Range 0:Calculate.

    I hope someone can help. George?...

    Bruce

    Acrobat forms use a variant of JavaScript and adds a few objects, properties and methods added.

    You use is not the correct syntax to remove the element of the personStats object.

    Get the element that corresponds to the name of the person the subject form;

    Event.Value = personStats [this.getField("PersonName1").valueAsString];

  • problem with the default value of the parameter in function

    Hi all
    create or replace FUNCTION date_post_message (
    user_lock_in  IN  users.user_lock%TYPE,
    form_type_in  IN users.form_type%TYPE DEFAULT 0 ,
    date_in       IN                       DATE)
    RETURN BOOLEAN
    IS
    v_num number(1);
    BEGIN
    IF user_lock_in = 1 THEN
       RETURN FALSE;
    END IF;
    IF form_type_in NOT IN (1,2) THEN
       RETURN FALSE;
    END IF;
      SELECT 1
      INTO v_num
      FROM changes
      WHERE date_post_msg <= date_in ;
      RETURN TRUE;
    exception
    WHEN NO_DATA_FOUND THEN
    RETURN FALSE;
    END date_to_post_msg;
    problem: there is null, the function ignore the form_type_in default value 0.
    Why? the default value is valid only in the parameter of the procedure?
    Thanks to Advnaced
    Naama

    Naama wrote:
    If a value is null to convert it to 0? I mean in the part of the statement of the parameter

    No, can't do this in the signature. You will need to manage this by validating the parameters passed at the beginning of the function.

    It is quite simple. In your case, you might as well test for NULL and fail to function like this:

        FUNCTION date_post_message(
                user_lock_in IN NUMBER,
                form_type_in IN NUMBER DEFAULT 0 ,
                date_in      IN DATE)
            RETURN BOOLEAN
        IS
            v_num NUMBER(1);
        BEGIN
            dbms_output.put_line('Value of parameters : user_lock_in : '||user_lock_in || ' : form_type_in : '||form_type_in||' : date_in : '||date_in );
            IF user_lock_in = 1 THEN
                RETURN FALSE;
            END IF;
            IF form_type_in IS NULL THEN
                RETURN FALSE;
            ELSIF form_type_in NOT IN (1,2) THEN
                RETURN FALSE;
            END IF;
            RETURN TRUE;
        EXCEPTION
        WHEN NO_DATA_FOUND THEN
            RETURN FALSE;
        END;
    

    In other cases of use I would issue a local variable and treat it like this:

            IF form_type_in IS NULL THEN
                l_form_type := 0;
            ELSE
                 l_form_type := form_type_in;
            END IF;
    

    Of course, the code should use the local variable rather than the parameter.

    It is a good practice to validate values passed in parameters at the beginning of a function. If you really want to go to the city, discover the Design By Contract.

    Cheers, APC

    Published by: APC on November 9, 2011 13:36

    Example added, as requested by OP

  • Problem with the alignment of text and numbers

    I have problem to align the number and text... It separates the number of the actual sentence... How can I fix?

    Untitled.png

    http://forums.Adobe.com/message/4653327#4653327

  • I have a problem with the display of text on Corel Draw X 3 after installing a Windows Update.

    Hi all

    No, not so much a question, but I thought I'd post here because it can help others.

    I used Corel Draw X 3 yesterday (12/12/12) to make a simple business card text only. Today - the file open and something is there, but the text is invisible. Further investigation revealed that this affected all fonts and Type 1 fonts from OTF, TTF fonts are immune to the problem.

    What has changed between yesterday and today? A Microsoft update that I shut down the computer last night. I uninstalled the update via Add/Remove Programs, and the problem was solved.

    Any suggestions as to who should I report this problem?

    -Frank Jones
    Dynamic funds, Geelong, Australia

    Original title: Win XP update Corel X 3 12/12 font management breaks?

    I have installed the latest updates and the v2 of KB2753842 solved the problem. Thank you.

  • Problems with the engine of text in photoshop cs3

    I recently bought Adobe creative suite 3 web premium online. everything works fine, except for some reason that I can't use ALL the fonts in Photoshop. He says: "could not complete your request because something prevented the text initializing engine."

    What can I do?

    Hi Livingshadow,

    Please click on the link below.

    http://helpx.Adobe.com/Lightroom/KB/error-Unable-start-correctly-0xc00007b/_jcr_content/MA in-pars/procedure/proc_par/step_0/step_par/download/file.res/Lightroom_64-Bit_DLLs.zip

    Extract the downloaded files and copy and paste it into C:\Windows\System32

    Then try to start Photoshop again and check if the problem persists.

    Please post on the Adobe Forums.

  • I have a problem with the Caption field

    When I type the text that is wider than the field Caption, I can see it is no longer in the text field, he dressed not to the next line.  I can still take my arrow to the right and hit it so that I can see.  What I am doing wrong? See the example below.

    LR3 is running on my MAC using OS X 10.6.5.  The LR version is 3.3.

    Any suggestions will be greatly appreciated.  Thanks ADubin

    Screen shot.jpg

    The key to solving it is to solve why the display window is rendered oddly.  I would like to look 2D, multiple monitor configuration graphics implementation and so on.  Make sure you look at the configuration of the monitor, as well.  Try resetting the monitor settings (horizontal, vertical tweaking, for example.)  And app like Lr juice thas to play within the operating system, so there is a kind of poor ongoing communication.

  • Why this site of discussions have so many problems with the entry of text of iPhones?

    IT capitalizes the first two characters sometimes duplicating them. Also the wiretap on a planned text will not type this text.  The list goes on... The questions are exclusive to this Web site. (In addition, it is terribly mobile hostile in general) for example, I can see the categories so I can't select the right category. Sorry moderators.

    You will need to ask Jive, the developers of the software running on the forum. But don't hold your breath waiting for a reply.

  • problems with the removal of text

    This does not happen every time and it's worse when my battery is less than 40%, but if I typed something and you want to remove, as the cursor moves back the phone reinsert words. So I'll be deleting the word "delivered", and I have to remove the back and go to 'from' reintroduced again delivered telephone and the miles of the cursor to the end then he finally said "dedelivered" and I have to delete it all again. But it will do so for each word, and I end up deleting two sentences. Or if I'm going to add an additional letter or punctuation at the end of a Word then it deletes the letter preceding. It is so annoying! I post a video or something to show, but have nothing to do with.

    Do you feel this on Chrome or another application? If it's on Chrome then delete the app data

  • Problem with the States of text frame

    I'm trying to create a text button simple reversal. I assigned States, and it seems to work unless I put normal transparent (text & fill), which is what I want.  After that I changed the normal state to transparency, the button is not visible in a State in preview mode before.  Any ideas?

    An opaque object to 0% in the browser receives any mouse down or reversal events. Set the opacity to 1%. It will not always be visible, but 1% opaque, he will answer to rollover and mouse down events.

Maybe you are looking for