Skip to main content
Nintex Community Menu Bar
Question

Change field text color for required fields

  • July 10, 2024
  • 2 replies
  • 19 views

Forum|alt.badge.img+10

In a Field Editor I want all the required fields to be red. Can someone let me know how I would go about achieving this?

This topic has been closed for replies.

2 replies

Forum|alt.badge.img+10

Hi Tami,

If it’s the field label colour that you would like to change, you can go about it by creating an “in-line” javascript resource (not snippet) and pasting in this:

(function(skuid){ var $ = skuid.$; $(document.body).one('pageload',function(){ // Sets label to red **$(".required").css("color", "red");** }); })(skuid);

The important bit is in bold.

Not sure if this is best practice but works for me!


Forum|alt.badge.img+10
  • Author
  • July 10, 2024

Perfect! Thank you so much Louis.