Jump to content
Sign in to follow this  
Johnn

Change Textfield Color

Recommended Posts

Is there any way I can individually set the color of a certain text field?

For example, The text field for first name has different color compared to the last name.

 

Thank you for those who can answer my inquiry

Share this post


Link to post
Share on other sites

Hi @Johnn,

Yes, it is possible with CSS.

Here is an example of CSS code. It should go into Datapage Header and also make sure that you disable HTML editor

<style>

input#InsertRecordYOUR_FIELD_NAME {
    background: #008000;
}

input#InsertRecordYOUR_FIELD_NAME {
    background: #00bfff;
}

</style>

Replace "YOUR_FIELD_NAME" with your actual fields name and change the color according to your preferences.

You can use this color picker.

Hope this helps.

Regards,

vitalikssssss

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...