Hello,
I have a field with Class dep & I want that when the field is empty, the Submit button should be hidden,
I have this code, but it's not working.
the field is Single Line & is Read only populated via Lookup.
Can someone please help?
$(document).ready(function() {
$('.Submit').hide();
$('.dep input').change(function(){
if(($('.dep input').val() != "") {
$('.Submit').show();
}
else {
$('.Submit').hide();
}
});
});
Many Thanks!