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

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);
            model: survey 

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

<meta name="viewport" content="width=device-width" />
    <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%;">
    <div id="surveyResult"></div>

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