Hi All,
I'm stuck! I am trying to hide the submit button unless the folder ID number (input in #q17) is 1652011 (automatically imported from the repository with a custom button). I'd like that field to be hidden always, but when it's hidden, it doesn't seem to work. When I show it, the submit button will appear with the right value when I click out of the text box on my form. What's wrong?
$(document).ready(function() {
$('.Submit').hide();
$('#q17 input').on('blur', function() {
if ($('#q17 input').val() == "1652011" ) {
$('.Submit').show();
} else {
$('.Submit').hide();
}
});
});