0

OK, so I'm trying to basically add an indicator of any kind in one field based on another field having data entered v no data entered. Ideally would like to display a red flag, or some kind of icon, but if its too complicated a simple change of color to the field (based on another) I'll make due with.

  • Is this a modern listview in SharePoint Online? – theChrisKent May 9 '18 at 13:25
0

You can make use of Client Side Rendering (CSR) to add an indicator based on values.

In the example shown here, icon is shown based on Yes/No field. So you can achieve something similar to this.

Or you can change the color of the column value conditionally as shown in another example.

You can go through many such examples of CSR here. You can implement the CSR in List Views as well as on List Forms.

  • I don't have a JSLink option under miscellaneous when I edit my list in a web part. – kcam May 9 '18 at 11:37
  • Is your SharePoint environment is on-premises or Online? Is it a custom List where you are trying to locate JSLink or is it any other List type? – Suresh C May 9 '18 at 11:43
  • Environment is online and the list is custom – kcam May 9 '18 at 11:46
  • If it is online, please refer this thread. – Suresh C May 9 '18 at 11:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.