{"title":"Add a public comment to this FAQ Entry","content":"<form method=\"post\" name=\"ncform\" id=\"ncform\" action=\"\/faq\/448656\/comment\">\n    <p>Please enter your name.  The email is mandatory but will not be displayed on the site.<\/p>\n    <div class=\"form-group\">\n        <label for=cname>Enter your name as you'd like it to display to the public:<\/label>\n        <input class=\"form-control\" type=\"text\" id=\"cname\" name=\"cname\" required value=\"\" \/>\n    <\/div>\n    <div class=\"form-group\">\n        <label for=\"cemail\">Email is required but never displayed on the public site:<\/label>\n        <input class=\"form-control\" type=\"email\" id=\"cemail\" name=\"cemail\" required value=\"\" \/>\n    <\/div>\n    <div class=\"form-group\">\n        <label for=\"cpost\">Your Answer\/Comment<\/label>\n        <textarea class=\"form-control\" id=\"cpost\" name=\"cpost\" rows=\"6\" required><\/textarea>\n    <\/div>\n    <div class=\"sr-only s-la-askform-capt\">\n        <label for=\"contact_me_by_fax_only\">Leave this field blank<\/label>\n        <input id=\"contact_me_by_fax_only\" type=\"text\" value=\"\" name=\"contact_me_by_fax_only\" tabindex=\"-1\" autocomplete=\"off\" \/>\n    <\/div>\n    <div class=\"form-group\">\n        <button type=\"submit\" class=\"btn btn-primary\">Submit<\/button>\n        <button type=\"button\" class=\"btn btn-default mg-left\" data-dismiss=\"modal\">Cancel<\/button>\n    <\/div>\n            <div id=\"s-la-dataNotice\" class=\"well\"><p>To use this platform, the system writes one or more cookies in your browser. These cookies are not shared with any third parties. In addition, your IP address and browser information is stored in server logs and used to generate anonymized usage statistics. California University of Science and Medicine uses these statistics to gauge the use of library content, and the information is not shared with any third parties.<\/p><\/div>\n    <\/form>\n\n<script>\n    jQuery('#ncform').on('submit', function(ev) {\n        ev.preventDefault();\n        var $form = jQuery(this);\n        \/\/ in case required attr is not supported\n        $form.find('input[required], textarea[required]').each(function(i, el) {\n            if (jQuery(el).val() === '') {\n                errorAlert('Please\\u0020answer\\u0020all\\u0020required\\u0020questions.');\n                return;\n            }\n        });\n\n        workingAlert();\n        $submitBtn = $form.find('button[type=submit]');\n        $submitBtn.prop('disabled', true);\n\n        jQuery.ajax({\n            method: 'POST',\n            url: $form.attr('action'),\n            data: $form.serialize(),\n            dataType: 'json'\n        })\n        .done(function(data) {\n            successAlert('Thank\\u0020you\\u0021\\u0020Your\\u0020comment\\u0020may\\u0020be\\u0020approved\\u0020and\\u0020posted\\u0020if\\u0020it\\u0020adds\\u0020value\\u0020to\\u0020the\\u0020answer.');\n            closeModal();\n        })\n        .fail(function(jqXhr) {\n            jqAjaxFailCallback(jqXhr);\n            $submitBtn.prop('disabled', false);\n        });\n    });\n<\/script>\n"}