function showResponse(data, statusText, xhr, $form) {
// reset form if server reports success
if (data.success == true) {
- //$('#nss_survey').resetForm();
- //$('#submit_button').hide();
+ $('#nss_survey').resetForm();
+ $('#submit_button').hide();
$('#server_response').html("<p><em>Thanks for participating in this survey.</em></p>" + data.results)
} else {
$('#server_response').html("");
<input type="checkbox" name="bg_datamod" value="pet" />PET/SPECT<br />
<input type="checkbox" name="bg_datamod" value="ephys" />Electrophysiology<br />
<input type="checkbox" name="bg_datamod" value="spectro" />Microspectroscopy<br />
- <input type="checkbox" name="bg_datamod" value="other" />
+ <input type="checkbox" name="bg_datamod" value="otherdm" />
<input name="bg_datamod_other" type="text" size="20" maxlength="40">
</td></tr></table>
</td></tr><tr class="oddrow"><td>
<tr class="oddrow">
<td class="task">
-How often do you use virtual machines for your research purposes?
+What fraction of your research activity time do you spend in a virtual
+environment as opposed to any other environment?
.. raw:: html
</td><td class="response">
<select name="virt_time" size="1">
<option value="none" selected="selected" label="Select an option">Select an option</option>
- <option value="never" label="Never">Never</option>
- <option value="occasionally" label="Occasionally">Occasionally</option>
- <option value="often" label="Often">Often</option>
- <option value="always" label="Exclusively">Exclusively</option>
- </select><div style="font-size:60%">(skip the remaining questions of this section if "never")</div>
+ <option value="notime" label="None/I don't use this">None/I don't use this</option>
+ <option value="little" label="Less then half of the time">Less then half of the time</option>
+ <option value="most" label="More than half of the time">More than half of the time</option>
+ <option value="always" label="All of the time">All of the time</option>
+ </select>
</td></tr><tr><td class="task">
Which products for virtualization are you using?
<input type="checkbox" name="virt_prod" value="virtualpc" />Virtual PC<br />
<input type="checkbox" name="virt_prod" value="xen" />Xen<br />
<input type="checkbox" name="virt_prod" value="kvm" />KVM<br />
- <input type="checkbox" name="virt_prod" value="other" />
+ <input type="checkbox" name="virt_prod" value="othervm" />
<input name="virt_other" type="text" size="20" maxlength="40">
</td></tr></table>
</td></tr><tr class="oddrow"><td>
.. raw:: html
- </td></tr><tr class="oddrow"><td class="response"><input type="checkbox" name="software_resource" value="other" /></td><td>
+ </td></tr><tr class="oddrow"><td class="response"><input type="checkbox" name="software_resource" value="otherres" /></td><td>
<input name="software_resource_other" type="text" size="40" maxlength="200">
</td></tr></table>
.. raw:: html
<table class="questionaire"><tr>
- <td class="response"><input type="checkbox" name="sw_other" value="other" />
+ <td class="response"><input type="checkbox" name="sw_other" value="othersw" />
<input name="sw_other_name" type="text" size="40" maxlength="200"> <span style="font-size:70%">(comma-separated list)</span></td>
</tr></table>