Field CSS

Home Forums Classic DFFS Field CSS

Tagged: 

Viewing 2 reply threads
  • Author
    Posts
    • #35797
      Jeverly
      Participant

        Hello,

        I am looking for a way to add a color badge/tag to specific fields on each tab of all 3 forms. This would help the user identify the specific fields within the form that are are leveraged by a certain user group. If we are unable to use a badge, is there a way to change the font color for certain fields? I was able to use the style CSS background-color:#ffcccc !important; which did change the entire field background color successfully, but we didn’t care for the way it made the form look.

        I am currently using SP 2013

        Dynamic Forms for SharePoint v4.4.4.27 – March 20, 2020|CSS version: 4.50 / 4.50|spjs-utility version: 1.345

        Thank you in advance for your help 🙂

        Attachments:
      • #35801
        Alexander Bautz
        Keymaster

          I’m not sure what you mean by badge, but you can add any CSS – for example a colored dot like this:

          .ms-formlabel{
          position:relative;
          }
          .ms-formlabel::before{
          content:"";
          position:absolute;
          height:20px;
          width:20px;
          background-color:red;
          border-radius:50%;
          left:-20px;
          }
          

          It will show like this:

          Alexander

        • #35803
          Jeverly
          Participant

            This worked! Thank you very much 🙂

        Viewing 2 reply threads
        • You must be logged in to reply to this topic.