Home › Forums › Quform WordPress › This field is required › Reply To: This field is required
February 27, 2019 at 5:10 pm #28655
szipet
Participant
Hi,
i managed to rewrite this code for quform2, but how can i remove the red border-color also when clicking inside the field? (i use the “Simple” style)
<script>
jQuery(document).ready(function ($) {
$(‘.quform-field-text’).click(function () {
$(this).closest(‘.quform-spacer’).find(‘.quform-error’).slideUp();
});
});
</script>
Thx!