Select first answer and automatically proceed

Compatibility: IdSurvey 6 IdSurvey 7

This javascript can be used to let IdSurvey automatically choose the first single select option of the question(s) it finds in the page and proceed to following page. It can be used to set “hidden” pages that can be useful to update quotas or values but that the final user doesn’t have to display.


Paste the script in the Client script box you find in the gearwheel button of the page.
As the script just select the first option be sure to use display condition on answers to display the correct options to select.

<script type="text/javascript">
$(".main-responses li:first-child input[type=radio]").trigger("click");




Leave A Comment?