Filter Object Array
HTML
<script src="http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js"></script>
JavaScript
var z = [
{
"surveyInstanceId":"1481",
"questionOrderNumber":"1",
"questionId":"1300",
"hidden":false,
"questionMinResponses":"0",
"questionRequired":false,
"questionType":"Caption",
"questionText":"<p>This is a question that is a caption. It is located in the <strong>wysiwyg</strong> editor so the styling can be handled there. </p>",
"questionMaxResponses":"0",
"categoryId":"1",
"key":null
},
{
"surveyInstanceId":"1481",
"questionOrderNumber":"2",
"questionId":"1301",
"hidden":false,
"questionMinResponses":"0",
"questionRequired":true,
"questionTypeData":{
"consRegInfoData":{
"layout":"VERTICAL",
"passwordComponent":null,
"full_name_row_label":null,
"city_state_zip_row_label":null,
"contactInfoField":[
{
"fieldName":"cons_first_name",
"fieldStatus":"REQUIRED",
"label":"First Name:"
},
{
"fieldName":"cons_last_name",
"fieldStatus":"REQUIRED",
"label":"Last Name:"
},
{
"fieldName":"cons_email",
"fieldStatus":"REQUIRED",
"label":"Email:"
},
{
"fieldName":"cons_postal_opt_in",
"fieldStatus":"DEFAULT",
"label":"Yes, I would like to receive postal mail from University Hospitals"
},
{
"fieldName":"cons_email_opt_in",
"fieldStatus":"DEFAULT",
"label":"Yes, I would like to receive email from University Hospitals"
},
{
"fieldName":"cons_title",
"fieldStatus":"REQUIRED",
"fieldOptionValues":[
...