How to set the background color for the HTML text field

Hello

Please don't me flame for this question is a bit off-topic. I would like to indicate to the end user that a field is mandatory. Using the name field * rating is good, but end users require a somewhat more tentative approach, they would like to have a light blue background for required fields.

Is there a HTML attribute for the text fields to achieve? Thanks in advance.

Tamas

Hi Francine,.

Try this

Click your text box
Select the ELEMENT property tab
then choose the property attributes of HTML form elements give this code

style = "" background: #0000FF ' "

This will show the Textbox with blue background
You can give any color by changing the #000000 to #FFFFFF

Thank you
Mark Wyatt

Tags: Database

Similar Questions

  • How to set the banner text in Vcenter?

    Hello

    I'm looking how to set the Banner text in Vcenter not in the ESX Server.

    The banner message should apper when connecting users on the VCenter server.

    Thanks in advance.

    See screenshot:

  • How to set the ToolTip text programmatically?

    Anyone know how to set the ToolTip text programmatically? forms10g, db10g.

    Thank you
    m.

    Hello

    You can use the SET_ITEM_PROPERTY to define the criterion of an element tool tip.

    SET_ITEM_PROPERTY('.', TOOLTIP_TEXT, '');
    

    Kind regards

    Manu.

    If my answer or the answer to another person has been useful or appropriate, please mark accordingly

  • How to keep the HTML text (i.e. Peragraph) according to the proportions?

    How to keep the HTML text (i.e. Peragraph) according to the proportions?

    Do not disturb (coming down / up) even a letter / word

    Do not disturb (coming down / up) even a letter / word

    Due to levels of zoom browser and personal user settings, there is no possible way to ensure an alignment of text on the web, unless you use images of the text.  Of course, this isn't an option because images of text cannot be indexed by search engines, screen readers or translators of language.

    Nancy O.

  • How can I set different background color for the slider?

    Hello
    I want to set a different color for track Slider, slider track is spitted into two sections by slider-button.
    I want to put a left gray, the right of a white.
    Under css only changes the background of the entire track, but how I can change different background color for the slider?
    Any suggestion?
    .slider {
        -fx-border-width: 0;
    }
    .slider *.track {
        -fx-background-color:white;
        -fx-background-insets:  0, 1;
        -fx-border-color: #faf0e6;
        -fx-border-width: 1;
        -fx-border-style:solid;
        -fx-progress-color:yellow;
        -fx-border-radius: 20;
    }
    .slider.knobStyle:focused .knob {
        -fx-effect: dropshadow( three-pass-box , red , 5 , 0.5 , 0 , 0 );
    }
    .slider.knobStyle:unfocused .knob {
        -fx-effect: dropshadow( three-pass-box , red , 5 , 0.5 , 0 , 0 );
    }
    .slider .thumb {
         -fx-background-color:rgb(224,225,226);
         -fx-background-repeat:stretch;
         -fx-background-size:stretch;
         -fx-background-position:center top;
         -fx-background-image:url("../images/volume_ball.png");
            -fx-padding: 10;
    }

    I don't know why I can't get the node of the track, track has always set to null and the thumb or the other.

    After that the cursor was displayed on an active scene are you doing research?

    (ex.: after you have added the slider to a scene, the scene for scene, then called stage.show ())

  • How to set the default text for a text entry area dynamically?

    I do a simulation and grabbing a my user text entry.  I store in a variable and you want to use as the default text for a text entry later in the simulation box.  It seems like it would need current for a software simulation.  However, I don't see a way to set the default text.  If I put the variable in a legend, I would use the syntax $$variablename$ $.  I tried to fix this in the text by default, but it did not work.  It is not interpreted as a variable.  Does anyone do this?  Please share.  Thank you.

    I had a need to do that as well... put a variable as default text name in a TBE field.

    I have a widget AS3 to do this, which can be found here.  There a Cp 4 demo file that does exactly what you describe.

    I would like to know how it goes...

    Jim Leichliter

  • How to make the PDF text field to be strikes do not copy/paste from previous text fields?

    Dear friends

    Helps to solve a problem related to the fields of PDF text, please

    Is there a way to make a PDF of the respondent, which ends of fields text to type own text not copy/paste of the previous text fields?

    Thank you very much!

    Copy the following code, used as key event custom field of your field, will prevent to enter more than one character at a time, which means that copy it text from an external source is not possible:

    if (event.change.length>1) event.rc=false;
    

    However, you can inform your users of this restriction, or they think that something is wrong with the file.

  • is there a way to get the index of the html text field cursor position

    I'm working on a block of text as MC with 'insert text at position X' and 'Find and replace' can someone tell me how to find the index of an html text field cursor. Selection.getBeginIndex (), Selection.getEndIndex (), Selection.getCaretIndex () as far as I know these methods only work with text and not htmltext.
    What I'm trying to do, it's affecting different parts of the chain to the variables so that I can combine in order to restore my html string.

    ray1872:

    If I understand correctly, you want the corresponding position in the
    another index of the caret htmlText property (who, like you, has no on the)
    position in the plain text of the textfield content version).

    Here's how I'd do. It is perhaps easier or more effective
    way (using objects XML etc.), but I don't know it. You could conduct all
    your search string in plain text and then convert the result of
    the positions of html. I didn't build this to accept negative parameters
    for the parameter pos (for example, end of string towards the back), but the
    function could be adapted to do this also if necessary. The test data is
    not good html from a text field, but it does not really matter what he
    is as long as its formatting correctly. It separates only tags of
    content to allow apples to apples comparison.

    some test data
    var testStringXML = ""Hello I can't tell you hOE happy I mod.'; "
    var undecoratedString = Hello "I can't tell you how happy I am.";

    the conversion function
    function findDecoratedPosition(pos:Number,_xmlString:String,_test:Boolean):Number {}
    anything between '<' and="" '="">' should be excluded from the search in plain text.
    create a table of elements of array (n = 2), consisting of tag and then plain text
    requires xml/html properly put in the form
    var tempArr:Array = xmlString.split (')<>
    for (var aa = 0; aa
    tempArr [aa] is [aa] tempArr,.split(">").;
    }
    remove the first and last elements in the new array (they are empty)
    tempArr.pop ();
    tempArr.shift ();
    find the location of corresponding plaintext and calculate the position "decorated."
    var retPos:Number = 0;
    var posCount:Number = 0;
    for (var aa = 0; aa
    retPos += tempArr [aa] [0] .length + 2 + tempArr [aa] [1] .length;
    + 2 allows you to lack< and="">
    posCount += tempArr [aa] [1] .length;
    If (posCount > pos) {}
    return (retPos + (pos-posCount));
    }
    }
    out of range
    Returns - 1;

    }

    test code:
    for (var aa = 0; aa
    var altPos = findDecoratedPosition (aa, testStringXML);
    trace (undecoratedString.charAt (AA) +"position" + aa + "in clear corresponds to the position" + altPos + "in decorated version [" + testStringXML.charAt (altPos) + "" "]" ");

    }

  • How to set a different color for the items in selectManyCheckbox

    Hello

    I would like to change the background color of text element for each item in selectManyCheckbox (different for each element).

    It is only 5 points which could be static reference or select.

    I only know how to change background for all items

    AF | selectManyCheckbox:item-{text}

    Background: orange;

    }

    How to select concrete question text and change color for them alone?

    I have the similar problem.
    CSS - background color defined for each individual p:selectManyCheckbox checkbox - Stack Overflow

    but it don't work for me because I don't have a structure very adf

    I need somethink like this:

    AF | selectManyCheckbox:item - XXXX text - select a question by number here in the list or the id {}

    Background: orange;

    }

    I use selectBooleanCheckbox in the forEach loop

  • How to set the alternate text for a framework anchored in FrameMaker 11?

    What is the procedure in FrameMaker 11 to include the alt for anchored frames text? We need produce a tagged PDF output is consistent accessibility; This output should include the alternate text for each image in the document that a screen reader can read.

    In previous versions of FrameMaker, it was possible to set the text as follows:

    1. Select the image and choose the graphics > properties of the object.
    2. Click on object attributes.
    3. In the text attributes section, add your text and the text and then click on set.

    FrameMaker online help describes the same procedure, to http://help.Adobe.com/en_US/FrameMaker/using/WSd817046a44e105e21e63e3d11ab7f7960b-7f0f.htm l . However, I see that in FrameMaker 11, you get the choice of graphics > properties of the object has changed from previous versions, and I can't see the object attributes.

    Where the text is defined for an object in FrameMaker 11?

    In the Panel of the anchored frame, click the button object attributes.

  • C# / JavaScript how to set the primary text block?

    Hello

    I'm working with InDesign scripting API with c# for my work. I'm new to both the InDesign scripting API and using InDesign as well.

    I am building a gap of master, with blocks of text so that the text block on the left page of the cheese would pass in the block of text on the right page.


    I read there is the option block of primary text for the master spread, but I can't seem to understand how to use it.

    Is there someone who could show me an example of script code to define the framework of primary text for a master page/spread?


    Here is the code I have for now.

    The question I have is in line 53, where when I try to run it, it gives me a very generic error 'Invalid object for this request.', which leads me to believe I'm doing it wrong.

            public static byte[] CreatePageBasedOnCreatedMasterSpread(string savePath)
            {
                Application application = ActivateInDesign();
    
    
                // Create new document
                application.Documents.Add(true, application.DocumentPresets.FirstItem());
    
    
                // Get active document and change some settings
                Document document = application.ActiveDocument;
                document.DocumentPreferences.FacingPages = true;
                document.DocumentPreferences.PageWidth = 210;
                document.DocumentPreferences.PageHeight = 297;
    
    
                document.DocumentPreferences.CreatePrimaryTextFrame = true;
                document.TextPreferences.SmartTextReflow = true;
    
    
                MasterSpread masterSpread = document.MasterSpreads.Add();
                masterSpread.BaseName = "CustomMasterSpread";
                masterSpread.NamePrefix = "AC";
    
    
                //Set the document's ruler origin to page origin. This is very important
                //--if you don't do this, getting objects to the correct position on the
                //page is much more difficult.
                document.ViewPreferences.RulerOrigin = idRulerOrigin.idPageOrigin;
    
    
                Page leftPage = masterSpread.Pages.FirstItem();
                Page rightPage = masterSpread.Pages.LastItem();
    
    
                leftPage.MarginPreferences.Top = rightPage.MarginPreferences.Top = 10;
                leftPage.MarginPreferences.Bottom = rightPage.MarginPreferences.Bottom = 10;
                leftPage.MarginPreferences.Left = rightPage.MarginPreferences.Left = 30;
                leftPage.MarginPreferences.Right = rightPage.MarginPreferences.Right = 20;
    
    
                // Create a text frame. Do not add text to this, as this is a master spread text frame.
                // Link their flow together
                TextFrame primaryFirstPageTextFrame = leftPage.TextFrames.Add(document.Layers.FirstItem(), idLocationOptions.idUnknown, leftPage);
                TextFrame primarySecondPageTextFrame = rightPage.TextFrames.Add(document.Layers.FirstItem(), idLocationOptions.idUnknown, rightPage);
                primaryFirstPageTextFrame.NextTextFrame = primarySecondPageTextFrame;
                //Set primary text frame of master spread to be the two linked textframes
    
    
                primaryFirstPageTextFrame.GeometricBounds = GetPageBoundsWithMargin(leftPage, document);
                primarySecondPageTextFrame.GeometricBounds = GetPageBoundsWithMargin(rightPage, document);
             
                masterSpread.PrimaryTextFrame = primaryFirstPageTextFrame; //This causes the error
             
                return GetFileData(document, savePath);
            }
    
    

    I noticed the JavaScript API that is very similar to c#, so it would be useful if I get a response from JavaScript.

    Hi Michael,

    Basically, you can do something like this (in ExtendScript):

    //Store value:
    var storedPreset = app.documentPresets[0].createPrimaryTextFrame;
    
    //Let's set it to true:
    app.documentPresets[0].createPrimaryTextFrame = true;
    
    //Add the document, name the master as you wish etc.pp. :
    app.documents.add
    (
    
        {
            documentPrefreneces :
                {
                    facingPages : true
                    ,
                    pageWidth : "210 mm"
                    ,
                    pageHeight : "297 mm"
    
                }
        }
    
    );
    //Reset to stored value:
    app.documentPresets[0].createPrimaryTextFrame = storedPreset;
    

    Uwe

  • How to set the RTL text in InDesign CC?

    How to set my RTL text in InDesign CC? The icon in the palette of paragraphs illustrated on the Adobe web site does not appear in my palette.

    Yes, the Adobe help is, ah, garbage. You get RTL tools if you download the ME version of InDesign CC. In order to get that, you must delete the version of InDesign that you now, open your creative cloud application, click on the gear-preferences icon in the upper right corner, go to the language settings and choose a language setting as "English (Arabic)" or "English (Hebrew). You will get an interface with all editing tools in English ME as the character orientation, orientation of the paragraphs and so forth.

  • How to keep the individual text fields after combining several files

    I created a timeline for 2015. Each month was created separately with a text field for each day of the month for the objectives, intentions, tasks. However, when I merge the files of the month in a pdf, the fields of text in different months work as a single; If I write something on January 14, the same text appears on the 14th of all other months. Therefore, I'm looking for a way to keep each autonomous text field so that this calendar can be a tool for planning throughout the year as planned.

    Use different domains for each month.

  • How to pass the info text field into another section or a Word Doc.

    I am trying to understand something and I have a problem.

    I have a series of text fields that I want my students to fill out. I would like that they fill out he place this text together of all these boxes in a paragraph, or somewhere else on the form or in Microsoft Word.

    It would be nice if they could press a button and it combine fields into a paragraph.

    Is this possible?

    Thank you

    You got right.  The form is saved as a static pdf, so he is prevented from change when you view it in Reader.  If you want an interactive form, it must be registered in a dynamic form.  Re-save the dynamic PDF form (save as on the menu and choose Save as Type: Adobe Dynamic form XML).  It should work fine after that.

  • [JS] How to set the import text option?

    File-> location-> after import check "Import Option to see the property.

    Hello.

    I want to change character set to import a txt file.

    Please any advice for me.

    Thank you.

    See screenshot

Maybe you are looking for

  • Restart of updating is not turned off MacBook pro

    HI there, hope you can help me. I have a MacBook pro 15 '' (2015), running osx 10.11.4. " Whenever I want to update to 10.11.5 (or 6), will be prompted to restart the computer and when I choose that nothing happens! The screen seems off, but always l

  • After updating FF 8 fonts appear too small

    What happens on almost all websites. Of course I can increase the size of the characters with ctrl-+ but this also increases the size of the image on this page. Clearly, the fonts are too small. The difference can be particularly noticed with combobo

  • My system came with the following error signature.

    BCCode: ea BCP1: 88E0A518 BCP2: 8913A 808 BCP3: 89113898BCP4: 00000001 OSVer: 5_1_2600 SP: 3_0 product: 768_1

  • Caching memory question

    Seems that almost half of the 2 GB in the system is cached. Don't know where to look to find out what is happening and how to stop it.

  • need to cancel a failed backup DiRT

    HI -. Unit: 4.0 (3) SR 1 Dirt: 4.0.3.0 I inadvertently said DiRT to back up Exchange mailboxes. Based on our particular configuration, the account of the unit that runs the backup doesn't have the ability to save messages. So now the dirt is slightes