Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 61813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T18:22:40+00:00 2026-05-10T18:22:40+00:00

I have a form that I would like to style. specifcally I would like

  • 0

I have a form that I would like to style. specifcally I would like to chnage the background color of the form item’s label. (the backgorundColor attribute changes both the label and the inputs background color)

i.e.

  <mx:Form>     <mx:FormItem label='username:'>         <mx:TextInput />     </mx:FormItem> </mx:Form>  

I would like to make the label with ‘username:’ have a different background color, but have the text input still be the default background color.

is this possible with a FormItem ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T18:22:41+00:00Added an answer on May 10, 2026 at 6:22 pm

    A formitem has an object it uses to display the label called the FormItemLabel, this objects purpose is so you can style the label of a form item.

    In flex 2 to change the style you can try:

    FormItemLabel {  } 

    However I looked over the flex 2 lang ref and it doesn’t seem like you can change the background color of the label. Click here for lang ref link

    If you are using flex 3 the desired way to change the label of the FormItem is through the formitems labelStyleName

    FormItem {   labelStyleName: newStyle; } 

    However once again I don’t believe they added the ability to change the background color of the label itself. Click here for lang ref link

    Best choice of action if this is required would be to extend the formitem class, unless anyone else has any ideas.

    Hope this helps…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a form that has label values that I would like to pass
I would like to have a form that can submit to two different action
I have a form that edits an instance of my model. I would like
I have an In-house windows form app that I would like to use Spell
I have a form with two selectfields. I would like that when something is
I have an API in the form of a JAR that I would like
I have 5 links that are on the same form but I would like
I have a form and would like to verify that a few fields that
I have a form that I use in my CMS that I would like
I currently have form that checks if a user has unsubmitted changes when they

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.