sure
in the help section of the question is this code (where 10 means 10 seconds - put what you like)
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
/* See /uploads/templates/teds/template.js */
rfs_nav_delay(10);
});
</script>
the script is in the template.js uses 2 functions. we only enable the next button
when the countdown has timed out *and* an option has been selected.
comments / tweaks / tidying up / welcome
/*
* The function rfs_nav_delay waits n seconds before enabling the next key
*
* uses same methods as normal LS. For including per question,
*/
function rfs_nav_delay(n)
{
$(document).ready(function() {
$('#movenextbtn').attr('disabled', 'disabled');
$('#movenextbtn').attr('aria-disabled', true);
$('#movenextbtn').button("disable");
navigator_countdown(n);
//navigator_countdown(1);
//$('#movenextbtn').hide();
//Show the next button when a radio is clicked
// use rfs_click_required requires so doenst break if rfs_nav is not called.
$(window).data('rfs_click_required',1);
$('input.radio').click(function(){
$(window).data('rfs_click_required', null);
if (!$(window).data('countdown')) {
$('#movenextbtn').attr('aria-disabled', false);
$('#movenextbtn').button("option", "disabled", false);
};
});
});
}
// RFS addded the rfs_clicked state to check if a buton has been clicked.
// logic is a bit about face so that suvreys that don't set it are not affetced
function navigator_countdown_end()
{
if (!$(window).data('rfs_click_required')) {
navigator_countdown_btn().each(function(i, e)
{
e.value = $(e).data('text');
$(e).button("option", "disabled", false);
$(e).attr('aria-disabled','false');
});
$(window).data('countdown', null);
}
}