JSFiddle - React, Tailwind, and code Playground
HTML
<input type="text" list="list" autocomplete="on" name="client" id="clientTxt" style="border-color: red; display: inline-block;">
<input type="text" list="list1" autocomplete="on" name="Installation" id="Installation" style="border-color: red; display: inline-block;">
<input type="submit" value="Create" id="create-submit">
JavaScript
$('#create-submit').click(function (event) {
$('input[type = text]').each(function (event) {
if ($(this).css('border-color') == 'red') {
alert("Please check red input boxes and click create again.");
event.preventDefault();
}
});
});