Buidling HTML Surveys

Overview


An HTML survey form is a form that is created by providing the necessary HTML to render the form. On the davinci platform, this would require using the HTML app or using the HTML component in the components toolbox.

For a brief introduction to crating HTML, please see HTML intro

Form Controls


The following elements are the most commonly used form elements.

Sample Form



Question 1
<input style="margin-top:5px;" class="form-control"/>
Question 2
<select style="margin-top:5px;" class="form-control">
	<option>option1</option>
	<option>option2</option>
	<option>option3</option>
</select>
<button style="margin-top:5px;" class="btn btn-default">submit</button>
					
which is rendered as the following:

Question 1 Question 2

Contents