The form below should be auto-filled by some JSON data (code shown below). Note that the form is ALWAYS filled with this data, so submitting the form should have no bearing on the result (it should always be prefilled with the same data).
<script> $("#prefillForm").prefillForm({ data: { text: 'foobar', date: '1/18/2013', password: '12345', // Note that this field should NOT be prefilled radio: 'a', checkbox: ['a', 'c'], select_single: 'c', select_multiple: ['b', 'd'], textarea: "This is some content to fill the textarea. Note that there are <br />tags to create some<br>line breaks which should be converted to new lines" } }); </script>