Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <style>
- .invalid { border: 1px solid #f00; }
- .redText { color: #f00; }
- </style>
- <script>
- </script>
- <form name="catwebformform83321" id="surveyForm" method="post" enctype="multipart/form-data" action="/FormProcessv2.aspx?WebFormID=58804&PageID=http%3a%2f%2fhoamco.businesscatalyst.com%2fquestionnaire-confirm.html&OID=13256184&OTYPE=1&EID=0&CID=0">
- <table class="webform" cellspacing="0" cellpadding="2" border="0" style="float:left; margin-right:80px; width:350px;">
- <tr>
- <td>
- <label for="CAT_Custom_300225"><b>Community</b> <span class="req"><font color="#f00">*</font></span>
- </label>
- <br />
- <input type="text" maxlength="4000" name="CAT_Custom_300225" id="CAT_Custom_300225" placeholder="Enter the name of Community..." class="cat_textbox required" />
- </td>
- </tr>
- <tr>
- <td>
- <label for="FirstName"><b>Owner First Name</b> <span class="req"><font color="#f00">*</font></span>
- </label>
- <br />
- <input type="text" name="FirstName" id="FirstName" placeholder="Enter your first name..." class="cat_textbox required" maxlength="255" />
- </td>
- </tr>
- <tr>
- <td>
- <label for="LastName"><b>Owner Last Name</b> <span class="req"><font color="#f00">*</font></span>
- </label>
- <br />
- <input type="text" name="LastName" id="LastName" placeholder="Enter your last name..." class="cat_textbox required" maxlength="255" />
- </td>
- </tr>
- <tr>
- <td>
- <label for="EmailAddress"><b>Email Address</b> <span class="req"><font color="#f00">*</font></span>
- </label>
- <br />
- <input type="text" name="EmailAddress" id="EmailAddress" placeholder="name@email.com" class="cat_textbox required" maxlength="255" />
- </td>
- </tr>
- <tr>
- <td>
- <label for="CAT_Custom_300226"><b>Name or Department of person assisting you</b> <span class="req"><font color="#f00">*</font></span>
- </label>
- <br />
- <input type="text" maxlength="4000" name="CAT_Custom_300226" id="CAT_Custom_300226" placeholder="Enter name or department..." class="cat_textbox required" />
- </td>
- </tr>
- <tr>
- <td>
- <label for="CAT_Custom_300227"><b>What is the purpose of your contact?</b> <span class="req"><font color="#f00">*</font></span>
- </label>
- <br />
- <textarea name="CAT_Custom_300227" id="CAT_Custom_300227" cols="10" rows="4" placeholder="For example, question on compliance letter, gate services, question on billing statement etc." class="cat_listbox required" onkeydown="if(this.value.length>=4000)this.value=this.value.substring(0,3999);"></textarea>
- </td>
- </tr>
- <tr>
- <td>
- <label id='label_CAT_Custom_300228'><b>In your most recent service experience, how did you contact the HOAMCO Team member?</b> <span class="req"><font color="#f00">*</font></span>
- </label>
- <br />
- <input type="radio" name="CAT_Custom_300228" id="CAT_Custom_300228_0" value="In Person" /><label for="In Person"> In Person</label>
- <br />
- <input type="radio" name="CAT_Custom_300228" id="CAT_Custom_300228_1" value="By Telephone" /><label for="By Telephone"> By Telephone</label>
- <br />
- <input type="radio" name="CAT_Custom_300228" id="CAT_Custom_300228_2" value="By Internet" /><label for="By Internet"> By Internet</label></td>
- </tr>
- <tr>
- <td>
- <label id='label_CAT_Custom_300218'><b>Please rate our HOAMCO Team Member on his/her Responsiveness</b> <span class="req"><font color="#f00">*</font></span>
- </label>
- <br />
- <input type="radio" name="CAT_Custom_300218" id="CAT_Custom_300218_0" value="Unsatisfactory" /><label for="Unsatisfactory"> Unsatisfactory</label>
- <br />
- <input type="radio" name="CAT_Custom_300218" id="CAT_Custom_300218_1" value="Satisfactory" /><label for="Satisfactory"> Satisfactory</label>
- <br />
- <input type="radio" name="CAT_Custom_300218" id="CAT_Custom_300218_2" value="Outstanding" /><label for="Outstanding"> Outstanding</label></td>
- </tr>
- <tr>
- <td>
- <label id='label_CAT_Custom_300231'><b>Please rate our HOAMCO Team Member on his/her Professionalism</b> <span class="req"><font color="#f00">*</font></span>
- </label>
- <br />
- <input type="radio" name="CAT_Custom_300231" id="CAT_Custom_300231_0" value="Unsatisfactory" /><label for="Unsatisfactory"> Unsatisfactory</label>
- <br />
- <input type="radio" name="CAT_Custom_300231" id="CAT_Custom_300231_1" value="Satisfactory" /><label for="Satisfactory"> Satisfactory</label>
- <br />
- <input type="radio" name="CAT_Custom_300231" id="CAT_Custom_300231_2" value="Outstanding" /><label for="Outstanding"> Outstanding</label></td>
- </tr>
- <tr>
- <td>
- <label id='label_CAT_Custom_300232'><b>Please rate our HOAMCO Team Member on his/her Politeness</b> <span class="req"><font color="#f00">*</font></span>
- </label>
- <br />
- <input type="radio" name="CAT_Custom_300232" id="CAT_Custom_300232_0" value="Unsatisfactory" /><label for="Unsatisfactory"> Unsatisfactory</label>
- <br />
- <input type="radio" name="CAT_Custom_300232" id="CAT_Custom_300232_1" value="Satisfactory" /><label for="Satisfactory"> Satisfactory</label>
- <br />
- <input type="radio" name="CAT_Custom_300232" id="CAT_Custom_300232_2" value="Outstanding" /><label for="Outstanding"> Outstanding</label></td>
- </tr>
- </table>
- <table class="webform" cellspacing="0" cellpadding="2" border="0" style="float:left; margin-right:80px; width:300px;">
- <tr>
- <td>
- <label id='label_CAT_Custom_300233'><b>Please rate our HOAMCO Team Member on his/her knowledge of the issue</b>
- <span class="req"><font color="#f00">*</font></span>
- </label>
- <br />
- <input type="radio" name="CAT_Custom_300233" id="CAT_Custom_300233_0" value="Unsatisfactory" /><label for="Unsatisfactory"> Unsatisfactory</label>
- <br />
- <input type="radio" name="CAT_Custom_300233" id="CAT_Custom_300233_1" value="Satisfactory" /><label for="Satisfactory"> Satisfactory</label>
- <br />
- <input type="radio" name="CAT_Custom_300233" id="CAT_Custom_300233_2" value="Outstanding" /><label for="Outstanding"> Outstanding</label></td>
- </tr>
- <tr>
- <td>
- <label id='label_CAT_Custom_300234'><b>Please rate our HOAMCO Team Member on his/her handling follow-up questions</b>
- <span class="req"><font color="#f00">*</font></span>
- </label>
- <br />
- <input type="radio" name="CAT_Custom_300234" id="CAT_Custom_300234_0" value="Unsatisfactory" /><label for="Unsatisfactory"> Unsatisfactory</label>
- <br />
- <input type="radio" name="CAT_Custom_300234" id="CAT_Custom_300234_1" value="Satisfactory" /><label for="Satisfactory"> Satisfactory</label>
- <br />
- <input type="radio" name="CAT_Custom_300234" id="CAT_Custom_300234_2" value="Outstanding" /><label for="Outstanding"> Outstanding</label></td>
- </tr>
- <tr>
- <td>
- <label id='label_CAT_Custom_300237'><b>Please indicate how quickly your service request was handled</b> <span class="req"><font color="#f00">*</font></span>
- </label>
- <br />
- <input type="radio" name="CAT_Custom_300237" id="CAT_Custom_300237_0" value="Immediately" /><label for="Immediately"> Immediately</label>
- <br />
- <input type="radio" name="CAT_Custom_300237" id="CAT_Custom_300237_1" value="Less than one day" /><label for="Less than one day"> Less than one day</label>
- <br />
- <input type="radio" name="CAT_Custom_300237" id="CAT_Custom_300237_2" value="Within 2 - 5 business days" /><label for="Within 2 - 5 business days"> Within 2 - 5 business days</label>
- <br />
- <input type="radio" name="CAT_Custom_300237" id="CAT_Custom_300237_3" value="More than one week" /><label for="More than one week"> More than one week</label>
- <br />
- <input type="radio" name="CAT_Custom_300237" id="CAT_Custom_300237_4" value="Issue still not resolved" /><label for="Issue still not resolved"> Issue still not resolved</label></td>
- </tr>
- <tr>
- <td>
- <label id='label_CAT_Custom_300243'><b>Overall, how satisfied are you with the service experience?</b> <span class="req"><font color="#f00">*</font></span>
- </label>
- <br />
- <input type="radio" name="CAT_Custom_300243" id="CAT_Custom_300243_0" value="Very Satisfied" /><label for="Very Satisfied"> Very Satisfied</label>
- <br />
- <input type="radio" name="CAT_Custom_300243" id="CAT_Custom_300243_1" value="Satisfied" /><label for="Satisfied"> Satisfied</label>
- <br />
- <input type="radio" name="CAT_Custom_300243" id="CAT_Custom_300243_2" value="Neutral" /><label for="Neutral"> Neutral</label>
- <br />
- <input type="radio" name="CAT_Custom_300243" id="CAT_Custom_300243_3" value="Somewhat Unsatisfied" /><label for="Somewhat Unsatisfied"> Somewhat Unsatisfied</label>
- <br />
- <input type="radio" name="CAT_Custom_300243" id="CAT_Custom_300243_4" value="Very Unsatisfied" /><label for="Very Unsatisfied"> Very Unsatisfied</label></td>
- </tr>
- <tr>
- <td>
- <label for="CAT_Custom_300244"><b>Comments</b></label>
- <br />
- <textarea name="CAT_Custom_300244" class='required' id="CAT_Custom_300244" cols="10" rows="4" placeholder="Add a brief message..." class="cat_listbox" onkeydown="if(this.value.length>=4000)this.value=this.value.substring(0,3999);"></textarea>
- </td>
- </tr>
- <tr>
- <td>
- <input class="cat_button" type="submit" value="Submit" id="catwebformbutton" requiredClass="required" emailClass="EmailAddress" formId="catwebformform83321"/>
- </td>
- </tr>
- </table>
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
- <script type="text/javascript">
- //<![CDATA[
- var submitcount49502 = 0;
- function isValidEmailAddress(emailAddress) {
- var pattern = new RegExp(/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i);
- return pattern.test(emailAddress);
- };
- $("#catwebformbutton").click(function(e) {
- e.preventDefault();
- var className = $(this).attr("requiredClass");
- var emailClass = $(this).attr("emailClass");
- var formId = $(this).attr("formId");
- var errors = 0;
- var radios = Array(
- "CAT_Custom_300228",
- "CAT_Custom_300218",
- "CAT_Custom_300231",
- "CAT_Custom_300232",
- "CAT_Custom_300233",
- "CAT_Custom_300234",
- "CAT_Custom_300237",
- "CAT_Custom_300243"
- );
- for (var i=0; i<radios.length; i++) {
- var radioGroup = radios[i];
- var radioField = $("input[name=" + radioGroup + "]");
- if (!radioField.filter(':checked').val()) {
- $("#label_" + radioGroup).addClass('redText');
- errors++;
- } else {
- $("#label_" + radioGroup).removeClass('redText');
- }
- }
- $("." + className).each(function() {
- if(!$(this).val()) {
- $(this).addClass("invalid");
- $(this).prev().prev().addClass("redText");
- errors++;
- } else {
- $(this).removeClass("invalid");
- $(this).prev().prev().removeClass("redText");
- }
- });
- if (!$("." + emailClass).val() || !isValidEmailAddress($("." + emailClass).val())) {
- $("." + emailClass).addClass("invalid");
- $("." + emailClass).prev().prev().addClass("redText");
- errors++;
- } else {
- $("." + emailClass).removeClass("invalid");
- $("." + emailClass).prev().prev().removeClass("redText");
- }
- if (errors > 0) return false;
- if (submitcount49502 == 0) {
- submitcount49502 ++;
- $("#" + formId).submit();
- return false;
- } else {
- alert("Form submission is in progress.");
- return false;
- }
- });
- //]]>
- </script>
- </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement