Buy Licenses Contact Support Login/Register
v 1.5.9
Overview Examples Docs Source Download
v 1.5.9

iCheck Radiogroup

Custom widget: iCheck widget with radiogroup question

Third-party libraries: ICheck MIT



var json = {
   "elements": [
        "type": "radiogroup",
        "name": "position",
        "title": "Choose job position...",
        "isRequired": true,
        "colCount": 0,
        "choices": [
          "2|Front-end Developer",
          "3|Back-end Developer",
          "4|Database Administrator",
          "5|System Engineer"

window.survey = new Survey.Model(json);

    survey.onComplete.add(function(result) {
        document.querySelector('#surveyResult').textContent =
            "Result JSON:\n" + JSON.stringify(, null, 3);

var app = new Vue({ 
    el: '#surveyElement',
        survey: survey

<!DOCTYPE html>
<html lang="en">
    <title>Custom widget: iCheck widget with radiogroup question, Vue Survey Library Example</title>

    <meta name="viewport" content="width=device-width, initial-scale=1">
    <script src=""></script>
    <script src=""></script>
<script src=""></script>
<link href="" type="text/css" rel="stylesheet" />
    <link rel="stylesheet" href="./index.css">
<script src=""></script>
<link rel="stylesheet" href="">
    <script src=""></script>

                <div id="surveyElement" style="display:inline-block;width:100%;">
                <survey :survey='survey' />
    <div id="surveyResult"></div>

<script type="text/javascript" src="./index.js"></script>