Cart Buy Licenses Contact Integrate into App Docs Support Login/Register
v 1.9.7
v 1.9.7
Overview Examples Docs Source


A question with several text inputs - Multiple Text question


                var json = {
  "elements": [
      "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(sender) {
            document.querySelector('#surveyResult').textContent =
            "Result JSON:\n" + JSON.stringify(, null, 3);
            <Survey.Survey model={survey}  />, document.getElementById("surveyElement"));

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

<meta name="viewport" content="width=device-width" />
        <script src=""></script>
        <script src=""></script>
        <script src=""></script>
        <script src=""></script>
    <script src="/DevBuilds/survey-react/survey.react.min.js"></script>
    <link href="/DevBuilds/survey-core/modern.min.css" 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/babel" src="./index.js"></script>