Hi, Tony, thanks for jumping on this. I apologize for my tardiness in reply, but I had clients with emergency jobs that needed to be done asap.
I've tried to manipulate a few of the codes you've posted for others in the past, but can't seem to get any to work. I am guessing it is probably something to do with my syntax.
Here is the last code I worked with, but gave up after hacking at it for some time. The code may or may not be the original as I do not remember at this point how I left it:
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
// Initially disable the Next/Submit button
$('button[type="submit"]').attr('disabled', 'disabled').addClass('ui-state-disabled');
// Listeners on Yes/No radios to toggle the Next/Submit button
$('#question1711 input.text[value="1"]').click(function(){
$('button[type="submit"]').attr('disabled', '').removeClass('ui-state-disabled');
});
$('#question1711 input.text[value=0]').click(function(){
$('button[type="submit"]').attr('disabled', 'disabled').addClass('ui-state-disabled');
});
});
</script>
Here is a link to a TEST survey that shows what we are trying to do.
yoursocialmediaanalysis.com/B2BAnalysis/...hp?sid=76727&lang=en
I know there might be an easier way to accomplish this, but I hate not being able to finish something when I know there's an easy answer to make it work.
The first two text input fields are compared to the next two "hidden" fields which default to the desired answers.
The fifth equation shows either 0 or 1, the 1 showing when all fields match.
The final "question" equation is designed to disable or enable the "Next" button based upon whether the previous equation is either 0 or 1 respectively. This is the one I am trying to implement the j code for.
Thanks in advance for any help you may offer.