<script> setInterval(function(){ if(SSI_GetValue("[% QuestionName() %]_b")>=1 && SSI_GetValue("[% QuestionName() %]_w")>=1) { SSI_SubmitMe(); } },100); </script>