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


A question with several text inputs - Multiple Text question



var json = { 
    questions: [
      { type: "multipletext", name: "pricelimit", title: "What is the... ", colCount: 2,
            items: [{ name: "mostamount", title: "Most amount you would every pay for a product like ours" },
                    { name: "leastamount", title: "The least amount you would feel comfortable paying" }]}

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

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


<!DOCTYPE html>
<html lang="en">
    <title>A question with several text inputs - Multiple Text question, Knockoutjs Survey Library Example</title>

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

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

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