You can use CSS or javaScript to hide the question.
Here's an example of passing a token value into the text of a hidden Yes/No question and toggling the question depending on the token value.
1)
Set up your survey to use JavaScript.
2) Create a Yes/No question and add something like the following to the source of the question text:
The ATTRIBUTE_1 value is <span class="token1Value">{TOKEN:ATTRIBUTE_1}</span>
3) Add the following code to the source of the question help. Replace "QQ" with the ID of your Yes/No question.
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
var qID = QQ;
$('#question'+qID+'').hide();
var token1Val = $('#question'+qID+' .token1Value').text();
if (token1Val == 1) {
$('#question'+qID+' input.radio:eq(0)').attr('checked', true);
}
else {
$('#question'+qID+' input.radio:eq(1)').attr('checked', true);
}
});
</script>
4) Create a token table giving numeric values for Attribute 1.
The JavaScript:
- hides the yes/no question
- gets the token value from the question text
- if the token value is 1, the "Yes" option is selected
- otherwise the "No" option is selected.
You should then be able to set quotas on the Yes/No question.