Hello,
I have the following code, the issue is it works fine for hiding the Submit button, but unfortunately also hides "Save as draft"
$(document).ready(function() { var $checkbox = $('#Field7-0, #Field7-1, #Field7-2, #Field7-3, #Field7-4, #Field7-5, #Field7-6, #Field7-7, #Field7-8, #Field7-9, #Field7-10, #Field7-11, #Field7-12, #Field7-13, #Field7-14, #Field7-15, #Field7-16, #Field7-17, #Field7-18, #Field7-19, #Field11-0, #Field11-1, #Field11-2, #Field11-3, #Field11-4, #Field11-5'); $('.check input').change(function() { $(this).is(':checked') ? $(this).siblings('label').css({'text-decoration':'line-through'}) : $(this).siblings('label').css({'text-decoration':''}); $checkbox.filter(':not(:checked)').length === 0 ? $('.btn-wrapper').show() : $('.btn-wrapper').hide(); }); });
Can someone please help me to hide only the submit button till everything is selected & not hide Save as draf?
Thanks in advance,
S