the font color for part of a text field

Is it possible to use code to change the color of the font for part of a text field?

My situation as well.  The user enters a description string.  Leaving a script hides the user field and combines two static strings to display the string combined in a (now visible) 'official' description of its value field.

Is it possible to include the tags any for only the text of the user in the color red? Then the text in a field would seem Red Black Black?

Sorry if this is a matter of repeating.

Hello

Why not use floating fields?

You can easily design a text with 3 floating fields.

Two of them you fill with strings from a script and the other with the value of the users description string.

The advantage of this method is, you can use different colors, fonts, sizes, etc. for each floating field!

1 entry

2. the result

Here's an example form:

https://Acrobat.com/#d=rnJO2rOd4FvAn4izbPwN-Q

Tags: Adobe LiveCycle

Similar Questions

  • How can desktop icon font color - I change the font color of the text that describes the desktop icons?

    I am running Windows 7 Ultimate 32 bit. How can I change the color of the font describing the desktop icons?

    I am running Windows 7 Ultimate 32 bit. How can I change the color of the font describing the desktop icons?

    Hello

    You cannot change the font color of desktop.

    Because desktop wallpaper images have different colors, it is easy for the colors of unreadable fonts if they are on top of the same color in a background image to display. For example, a black font on top a dark part of the background image or a white font on a white part of a background image.

    The desktop icon fonts are dynamic and show white on dark background and change in white with a shadow effect black on a light background.

    I hope this helps.

    Thank you for using Windows 7

    Ronnie Vernon MVP

  • Change the font color in a report using SQL for APEX 5.0 queries

    Hello

    I'm testing APEX 5.0 in my test environment to see if I can migrate my internal applications of 4.2 to 5.0.

    How can I change the font color in a field based the SQL query? I know how to do it in 4.2, but I can't find the same in 5.0.

    Thank you

    Well, I used to put html tags in the select text, getting the value of depending on the CASE, so I had to change the display column attribute in the report as "Display in text form (space special characters...)".

    I found an old post here: https://tylermuth.wordpress.com/2007/12/01/conditional-column-formatting-in-apex/ and this method still worked for me in APEX 5.0

    Thanks anyway

  • In Illustrator, I've created a text box and cannot change the font color of black.

    In Illustrator, I've created a text box and cannot change the font color of black. I tried changing each CMYK percentage individually, but it stays black. I have not had this before. What is going on?

    [Left the forum Cloud/Installer generic for program specific forum... MOD]

    akayshay,

    If I (put) understand, you can simply create a region Type, and then select with the normal (black) selection tool, then set the fill color to none in the Toolbox, and then click Add a new fill in the appearance palette and with the selected fill (yet) set your colour (ing) desired.

  • Is there a way to allow the end user to change the font color in a text field?

    I didn't know that LiveCycle existed yesterday so I was using the Google a lot.

    I'm building an application form and asked if there was a way to change the font color in a text field. (EXAMPLE: content Original is black.) The notes are in red)

    I have 2 ideas on that, we should type out and highlight, and then click a button to turn red. The other way. I'm more part. Have a radial affecting when turned off, black types. When on, red types. What is the best way to do it or is it still possible?

    Figured it out. Replace 'plain text' 'rich text' and have user support on ctr + e. seems strange to me, but it works.

  • How to change the highlight color for text

    I am trying to select and highlight some text in the PDF file. Here is my sample code. I want to change the color of the highlighted text. Something similar to what the tool select text in acrobat.

    Hilite HiliteEntry;

    Hilite.Offset = 10;  Highlight the tenth Word

    AVDoc currentAVDoc = AVAppGetActiveDoc();

    CurrentPDDoc PDDoc = AVDocGetPDDoc (currentAVDoc);

    AVPageView currentPageView = AVDocGetPageView (currentAVDoc);

    ASInt32 pageNum = AVPageViewGetPageNum (currentPageView);

    Red PDColorValueRec;

    Red.Space = PDDeviceRGB;

    Red.Value [0] = ASInt32ToFixed (1);

    Red.Value [1] = 0;

    Red.Value [2] = 0;

    Highlight

    AVPageViewSetColor (currentPageView, & red);

    PDPage pdPage = PDDocAcquirePage (currentPDDoc, pageNum);

    PDTextSelect textSelection = PDTextSelectCreateWordHilite (pdPage, & hilite, 1);

    AVDocSetSelection (currentAVDoc, ASAtomFromString ("Text"),(void *) textSelection, true);

    AVPageViewDrawNow (currentPageView);

    AVDocShowSelection (currentAVDoc);

    PDPageRelease (pdPage);

    If this is not possible, at least can I change the font color or underline text?

    Appreciate any help!

    Thanks a lot for the help so far. So, I was successfully able to create a text selection highlight annotation. Here is my code, if someone else have similar questions.

    More a question. in my highlight annotation, I get two rounded half-circles to the left and the right. Don't know why?

    Hilite HiliteEntry;
    Hilite.Offset = 50; Highlight the 50th start of word
    AVDoc currentAVDoc = AVAppGetActiveDoc();
    CurrentPDDoc PDDoc = AVDocGetPDDoc (currentAVDoc);
    AVPageView currentPageView = AVDocGetPageView (currentAVDoc);
    ASInt32 pageNum = AVPageViewGetPageNum (currentPageView);
    PDEElement pdeElement;
    ASFixedRect boundingRect.
    PDPage pdPage = PDDocAcquirePage (currentPDDoc, pageNum);
    PDAnnot pdAnnot.
    Red PDColorValueRec;
    Red.Space = PDDeviceRGB;
    Red.Value [0] = ASInt32ToFixed (1);
    Red.Value [1] = 0;
    Red.Value [2] = 0;
    Highlight
    AVPageViewSetColor(currentPageView, &red);)
    PDTextSelect textSelection = PDTextSelectCreateWordHilite (pdPage, & hilite, 1);
    AVDocSetSelection (currentAVDoc, ASAtomFromString ("Text"),(void *) textSelection, true);
    AVPageViewDrawNow (currentPageView);
    AVDocShowSelection (currentAVDoc);
    make the selection of text and get the bbox of the selection.
    PDTextSelect selectedText = static_cast(AVDocGetSelection (currentAVDoc));
    PDTextSelectGetBoundingRect (selectedText, & boundingRect);
    the bbox allows to create an annotation, click QuadPoints
    CosObj ArrayObj, RecObj;
    CosDoc cd = PDDocGetCosDoc (currentPDDoc);
    CosObj cosPage = PDPageGetCosObj (pdPage);
    ArrayObj = CosNewArray (cd, false, 8);
    CosArrayPut (ArrayObj, 0, CosNewFixed (cd, false, boundingRect.right));
    CosArrayPut (ArrayObj, 1, CosNewFixed (cd, false, boundingRect.bottom));
    CosArrayPut (ArrayObj, 2, CosNewFixed (cd, false, boundingRect.left));
    CosArrayPut (ArrayObj, 3, CosNewFixed (cd, false, boundingRect.bottom));
    CosArrayPut (ArrayObj, 4, CosNewFixed (cd, false, boundingRect.right));
    CosArrayPut (ArrayObj, 5, CosNewFixed (cd, false, boundingRect.top));
    CosArrayPut (ArrayObj, 6, CosNewFixed (cd, false, boundingRect.left));
    CosArrayPut (ArrayObj, 7, CosNewFixed (cd, false, boundingRect.top));
    for the Rect.
    . Do not require highlight annotations, but API call to create the annotation requires this key RecObj = CosNewArray (cd, false, 4); CosArrayPut (RecObj, 0, CosNewFixed (cd, false, boundingRect.left)); CosArrayPut (RecObj, 1, CosNewFixed (cd, false, boundingRect.right)); CosArrayPut (RecObj, 2, CosNewFixed (cd, false, boundingRect.bottom)); CosArrayPut (RecObj, 3, CosNewFixed (cd, false, boundingRect.top));
    CosObj cosDict = CosNewDict (cd, true, 4);
    CosDictPutKeyString (cosDict, "Subtype", CosNewNameFromString (cd, false, "Highlight"));
    CosDictPutKeyString (cosDict, "QuadPoints", ArrayObj);
    CosDictPutKeyString (cosDict, 'Rect', RecObj);
    pdAnnot = PDAnnotFromCosObj (cosDict);
    PDPageAddAnnot(pdPage,-2,pdAnnot);
    PDPageNotifyContentsDidChange (pdPage);
    PDAnnotSetColor(pdAnnot, &red);)
    AVPageViewDrawNow (currentPageView);
    PDPageRelease (pdPage);
  • How to set the font color to drop substantial text to a topic only

    I want to apply a different font color for drop-down text for a particular topic only. I tried to change the color through drop down text-> fonts-> font color-> properties apply. The selected color is displayed in the font color, but does not appear when the subject is presented as a preview. The drop-down list text appears in the color applied in style. Would appreciate advice on how to apply the drop-down menu the text color for a specific topic.

    If you have your style sheet saying you drop-down list text is blue, then it will be blue no matter what you do. It's logical. You can try using a different stylesheet for the single subject and changing the drop down to test color accordingly.

  • How do you change the font color in CALL coming OUT of the text boxes in PRO XI?

    How do you change the font color in CALL coming OUT of the text boxes in PRO XI?

    Select it and press Ctrl + E to open the properties bar where the first

    option is the color of the font.

  • With the help of Adobe Acrobat Pro XI: is there a way to select existing text / change the font color of this

    With the help of Adobe Acrobat XI Pro Trial Version: is there a way to select existing text / change the font color of the text?  (there are here - but where is it to XI pro?)

    I have been using Acrobat 8 Pro & it's very simple, but I was not able to do using Pro XI!

    1. Open the PDF file
    2. Click on the Tools Menu
    3. Click the editing of content
    4. Choose text & Images

    They wanted to make it easier to get.

  • Cannot change the font color on the desktop icons

    I am running windows vista. I can't change the font as in windows xp. No matter if the background is dark or the police is always black... Help!

    Hello

    Thanks for posting the question in Microsoft Answers.

    I apologise for the inconvenience.

    Unfortunately, you cannot change the font color of desktop.

    Because desktop wallpaper images have different colors, it is easy for the colors of unreadable fonts if they are on top of the same color in a background image to display. For example, a black font on top a dark part of the background image or a white font on a white part of a background image.

    The desktop icon fonts are dynamic and show white on dark background and change in white with a shadow effect black on a light background.

    In previous versions of Windows, it did not matter what color you chose to fund policies, some would still make invisible because of the background color of a desktop wallpaper. The user was constantly moving icons around the desktop computer to another colorful area where the police could be read. This was the source of a large number of complaints from users asking for a policy that was still visible, regardless of the color that was behind the police.

    However, you can change the theme and see if that helps:

    Change desktop theme:

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-desktop-theme

    Hope this information helps. Let us know if you need additional assistance. We are happy to help you.

  • How to change the highlight color for windows 7 (select the file or folder)?

    How to change the highlight color for windows 7 in the aero theme (select the file or folder)?

    You can change the font size because it is not a widget.   To do this:

    1 type dpi in your Start menu search box, and then choose make text and other more or less important.
    2 - Choose a size you prefer
    3 - Click on apply.
  • How to change the font color

    as in the subject...

    I have a class that extends the VerticalFieldManager and paint method:

     

    public void paint (Graphics _g) {}

    Super.paint (_g);

    _g.setColor (Color.Black);

    _g.fillRect (0, 0, getWidth(), getHeight());

    _g.setColor (Color.Red);

    _g.drawRect (0, 0, getWidth(), getHeight());

    }

    So what I have is a black rectangle with red edges.

    later in another part of the program, I make an object of this class and I want to add a TextField to write to him. the problem is, the font color is black and is also the background of my rectangle. I want to change the font color in the TextField in white, but I have problems. I tried to crush paint method as follows:

    _Tf TextField = new TextField() {}

    Public Sub paint (Graphics _g)

    Super.Paint (_g);

    _g.setColor (Color.White);

    }

    but it won't help.

    Anyone know how to solve?

    concerning

    Make the call to setColor before calling super.paint (...).  Although you might need to save/restore the current color

    {} public void paint (Graphics g)

    oldColor int = g.getColor ();

    g.setColor (Color.WHITE);

    Super.Paint (g);

    g.setColor (oldColor);

    }

    The color setting is perhaps an exaggeration, but you can play with it.  I remember in the past where I had put the red label text, then a bunch of controls designed after it was all red.

  • How can I change the font color? I have no option "color" under "format".

    How can I change the font color? I have no option "color" under "format".

    Hello

    There are several ways to do this-

    1. for font color, you can use the CSS section in the Inspector (Windows-> property) properties.

    2. you can set the style inline in Code view (for example it is paragraph

    3. you can use CSSD to add a switch and set color property in the section of text.

    Thank you!

    Kusha

  • change the font color in a tree node

    All,
    I created a tree and everything seems good but trying to iam to set the font color of a node, as shown below, but it does not work, can someone please give me a solution where I was not right here.
    select case when connect_by_isleaf = 1 then 0
                when level = 1             then 1
                else                           -1
           end as status, 
           level, 
           '<SPAN style="color:red;">' || "ENAME" || '</SPAN>'  as title, 
           (case when level = 1 then '#IMAGE_PREFIX#Fndtre11.gif' 
                 when level = 2 then '#IMAGE_PREFIX#Fndtre12.gif'
                 else '#IMAGE_PREFIX#Fndtre13.gif' end) icon, 
           "EMPNO" as value, 
           null as tooltip,    url as link 
    from EMP
    .......
    Apex 4.1.1

    Thank you

    Gor,

    Inside the section named run when the Page loads , I wrote the following code to jQuery for you (all thanks to Tom who wrote the filter)

    // Updated code of Tom
    $("#eba_demo_tree a").filter(function(index){
       var lRegExp = /^m/i; //or new RegExp('^m', 'i');
       //trim to get rid of leading space due to space in encapsulated ins-element
       return lRegExp.test($(this).text().trim());
    }).css("color","red");
    

    Now, you can find the behavior you requested (all nodes begins with some letter e.g. m, will be red like Martin, Miller) inside your page
    http://Apex.Oracle.com/pls/Apex/f?p=46268:4
    demo123/demo123

    The code above can be updated as if you know regular expressions to filter on any requirement you need

    Concerning
    Mahmoud

  • RENAME THE LEGEND OR CHANGE THE FONT COLOR OF LEGEND

    Hello

    My requirement is to change the font color of the legend.

    for example

    ABC is the name of the legend of a checkbox

    clicking on this box I want to disply 'ABC' .

    or how to change the name of the 'ABC' to 'DEF' legend using the script. (RUNNING time).

    Thank you.

    dhiyan

    Alternate the color of the legend.

    Form1.Page1.Subform1.captionColourChange::click - (JavaScript, client)

    If (this.rawValue == true) {}

    xfa.resolveNode("ABC.caption.font.fill.color").value = "255,0,0";

    }

    else {}

    xfa.resolveNode("ABC.caption.font.fill.color").value = "0,0,0";

    }

    Toggle the legend text.

    Form1.Page1.Subform1.captionTextChange::click - (JavaScript, client)

    If (this.rawValue == true) {}

    xfa.resolveNode("ABC.caption.value.#text").value = "DEF";

    }

    else {}

    xfa.resolveNode("ABC.caption.value.#text").value = "ABC";

    }

    Steve

Maybe you are looking for

  • How to change email provider by default when mailto is not a content type in applications

    I recently installed outlook on my machine. Now instead of Gmail as my default email, it uses outlook and I want to go back to Gmail, but I don't have a Mailto as a content type in applications. Help, please.

  • Why Firefox was leaving my home page is not displayed correctly?

    I currently use version 3.6.24 Firefox on my PPC mac with 10.4.11 system. I use Firefox for many years without any problems. I received yesterday and on my screen to alert that there is a new update of Firefox available at the facility. I clicked on

  • Hey, somebody hacked my live ID to windows via xbox live

    Hey, if someone hacked into my live ID to windows via xbox live, and I can no longer sign in, using the reset my password option.  He said also the secret of my answer is incorrect, so I don't know what to do, because XBL account is related to that,

  • Keyboard input does not work

    I bought simmtronics motherboard two years back and I still have warranty. But lately my computer does not just work. My keyboard doesn't quite work alright, so my keyboard works fine. When I type a word document all of a sudden the NumLock turns off

  • Why my pc is overheating when I play my sims games

    my pc is overheating / turns off when I play Sims hope games (ea) I ran a test/scan from here to solve any problem that does not ruin everything... but do not know what is current... I know that the games sims is very 4. heat games...   I hope I can