Preview:
    /*Validate Fields*/
    $( document ).ready(function() {
        $(document).on("click", "#bottom_button", function(e) {
            e.preventDefault();
            var flag = true;
            $(':input[name^=items]').each(function() {
                if(!$(this).is(":hidden")){
                    if ($(this).val() == null || $(this).val() == '') {
                        $(this).css('border','2px solid #e74c3c');
                        $(this).focus();
                        flag = false;
                    }else{
                        $(this).css('border','1px solid #80BDFF');
                    }
                }
            });
            if(flag==true){
                $("#submit_proposal").submit();
            }
        });
    });
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter