# CSS to identify empty form fields

**URL:** <https://forums.knack.com/t/css-to-identify-empty-form-fields/7178>\
**Category:** API & Custom Code\
**Created:** [February 5, 2018, 4:36pm UTC](https://forums.knack.com/t/css-to-identify-empty-form-fields/7178 "2018-02-05T16:36:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![KimberleyS13429](https://avatars.discourse-cdn.com/v4/letter/k/c4cdca/32.png) [@KimberleyS13429](https://forums.knack.com/u/KimberleyS13429)\
**Post date:** [February 5, 2018, 4:36pm UTC](https://forums.knack.com/t/css-to-identify-empty-form-fields/7178/1 "2018-02-05T16:36:08Z")

</div>

I am looking to identify which of my form fields are empty when the form renders by putting a red border around the field input box. I have attempted css for .kn-input :placeholder-shown or input:empty but neither of these work. Knack support says I need a combination of JQuery and CSS to loop through the data - is this true or is there some obvious way of going about this without JQuery (I am not familiar with Javascript).

Any help would be appreciated.

Kim
