Good Morning,
I am trying to do 2 things. I have a form that is to be filled out only once. If someone tries to fill it out again I want to hide the submit button based on a field (in this case q32) that is filled in by a lookup rule. This field is null if they haven't filled in the form before. If they have it will have a date. I've tried various examples based on other Answer questions, but I can't get them to work correctly. Also this field q32 needs to be hidden when the user fills in this form the 1st time it should only be shown IF the form has been filled in before. This is what I've tried. Note: I am a novice at JavaScript so ANY help would be gratefully appreciated. Thanks!
$(document).ready(function(){
$('.Submit').hide();
$('#q32 imput').on('blur', function(){
if($('#q32 imput').val() =="") {
$('.Submit').show();
}else {
$('.Submit').hide();
}
});
});
$(document).ready(function(){
$('#q32').hide();
$('#q32 imput').on('blur', function(){
if($('#q32 imput').val() =="") {
$('#q32').hide();
}else {
$('#q32').show();
}
});
});