We are using forms for SharePoint and would like to add some custom code to the form where if a field is blank/null, it changes the control of the field to a different color. We have some fields that are being missed and they are fields that we cannot require to be filled out en masse so I wanted to create a visual way of indicating that a field is blank.
We would like to be able to apply this to all fields in the form via code, such as a for each/next type of thing. We would also like to be able to manipulate the color of the control, not the entire field, just the box they type in. We would also like to be able to change the color of the control based on the selection of the field so this code would be very useful to us for multiple applications.
Anyone that's done this before or could provide some help, I would greatly appreciate it. I couldn't find anything specific on this in the help documentation.
Thanks in advance,
Carolina BioOncology Institute