Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Mar 21st, 2010 | Syntax: None | Size: 7.06 KB | Hits: 106 | Expires: Never
Copy text to clipboard
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head><link rel="shortcut icon" href="https://spreadsheet.google.com/images/forms/favicon.ico" type="image/x-icon">
  2. <meta http-equiv="Content-type" content="text/html; charset=utf-8">
  3. <title>Ask Laura McGonigle a South East Ward constituency question</title>
  4. <link href='//spreadsheets.google.com/client/css/3386678453-published_form_compiled.css' type='text/css' rel='stylesheet'><link href='//spreadsheets.google.com/client/css/3386678453-published_form_compiled.css' type='text/css' rel='stylesheet'>
  5. </head>
  6. <body class="ss-base-body" dir="ltr"><div class="ss-form-container">
  7. <div class="ss-form-heading"><h1 class="ss-form-title">Ask Laura McGonigle a South East Ward constituency question</h1>
  8. <p></p>
  9. <div class="ss-form-desc">If you fill in all sections of this form, I&#39;ll be able to address your issue faster. Thank you.</div>
  10. <p></p>
  11.  
  12. <hr class="ss-email-break" style="display:none;">
  13. <div class="ss-required-asterisk">* Required</div></div>
  14. <div class="ss-form"><script type="text/javascript">var submitted_mfuahmlu=false;function checkRequiredFields_mfuahmlu(requiredFields)
  15. {
  16.         var errorMessage='Required field left blank.';
  17.        
  18.         for(var x in requiredFields)
  19.         {
  20.                 var fieldNum=requiredFields[x];
  21.                
  22.                 if(document.getElementById('entry_'+fieldNum))
  23.                 {
  24.                         if(!document.getElementById('entry_'+fieldNum).value.length)
  25.                         {
  26.                                 alert(errorMessage);
  27.                                
  28.                                 document.getElementById('entry_'+fieldNum).focus();
  29.                                
  30.                                 return false;
  31.                         }
  32.                 }
  33.                 else if(document.getElementById('group_'+fieldNum+'_1'))
  34.                 {
  35.                         var counter=1;
  36.                        
  37.                         var selected=false;
  38.                        
  39.                         while(document.getElementById('group_'+fieldNum+'_'+counter))
  40.                         {
  41.                                 if(document.getElementById('group_'+fieldNum+'_'+counter).checked)
  42.                                 {
  43.                                         selected=true;
  44.                                 }
  45.                                
  46.                                 counter++;
  47.                         }
  48.                        
  49.                         if(document.getElementById('other_option:'+fieldNum))
  50.                         {
  51.                                 if(document.getElementById('other_option:'+fieldNum).checked)
  52.                                 {
  53.                                         selected=true;
  54.                                        
  55.                                         if(!document.getElementsByName('entry.'+fieldNum+'.group.other_option_').item(0).value.length)
  56.                                         {
  57.                                                 alert(errorMessage);
  58.                                                
  59.                                                 document.getElementsByName('entry.'+fieldNum+'.group.other_option_').item(0).focus();
  60.                                                
  61.                                                 return false;
  62.                                         }
  63.                                 }
  64.                         }
  65.                        
  66.                         if(!selected)
  67.                         {
  68.                                 alert(errorMessage);
  69.                                
  70.                                 document.getElementById('group_'+fieldNum+'_1').focus();
  71.                                
  72.                                 return false;
  73.                         }
  74.                 }
  75.         }
  76.        
  77.         return true;
  78. }</script><iframe name="hidden_iframe_mfuahmlu" id="hidden_iframe_mfuahmlu" style="display:none;" onload="if(submitted_mfuahmlu){window.location='http://www.facebook.com/pages/Cllr-Laura-McGonigle/24042659998';}"></iframe><form action="https://spreadsheets.google.com/formResponse?formkey=dFJOdlhQNW9LdWVHbEloalNLSEhsMHc6MA&amp;ifq" method="post" target="hidden_iframe_mfuahmlu" onsubmit="if(checkRequiredFields_mfuahmlu([1,0,2,4,6])){submitted_mfuahmlu=true;}else{return false;}" id="ss-form">
  79.  
  80. <br>
  81. <div class="errorbox-good">
  82. <div class="ss-item ss-item-required ss-text"><div class="ss-form-entry"><label class="ss-q-title" for="entry_1">What is your name?
  83. <span class="ss-required-asterisk">*</span></label>
  84. <label class="ss-q-help" for="entry_1"></label>
  85. <input type="text" name="entry.1.single" value="" class="ss-q-short" id="entry_1"></div></div></div>
  86. <br> <div class="errorbox-good">
  87. <div class="ss-item ss-item-required ss-select"><div class="ss-form-entry"><label class="ss-q-title" for="entry_0">Which part of the South East Ward are you living in?
  88. <span class="ss-required-asterisk">*</span></label>
  89. <label class="ss-q-help" for="entry_0"></label>
  90. <select name="entry.0.single" id="entry_0"><option value="Ballinlough">Ballinlough</option> <option value="Blackrock">Blackrock</option> <option value="Ballintemple">Ballintemple</option> <option value="Douglas">Douglas</option> <option value="Mahon">Mahon</option> <option value="Boreenmanna Road">Boreenmanna Road</option> <option value="Not from South East Ward">Not from South East Ward</option></select></div></div></div>
  91. <br> <div class="errorbox-good">
  92. <div class="ss-item ss-item-required ss-text"><div class="ss-form-entry"><label class="ss-q-title" for="entry_2">Email Address
  93. <span class="ss-required-asterisk">*</span></label>
  94. <label class="ss-q-help" for="entry_2"></label>
  95. <input type="text" name="entry.2.single" value="" class="ss-q-short" id="entry_2"></div></div></div>
  96. <br> <div class="errorbox-good">
  97. <div class="ss-item ss-item-required ss-text"><div class="ss-form-entry"><label class="ss-q-title" for="entry_4">Phone / Mobile Number
  98. <span class="ss-required-asterisk">*</span></label>
  99. <label class="ss-q-help" for="entry_4"></label>
  100. <input type="text" name="entry.4.single" value="" class="ss-q-short" id="entry_4"></div></div></div>
  101. <br> <div class="errorbox-good">
  102. <div class="ss-item  ss-checkbox"><div class="ss-form-entry"><label class="ss-q-title" for="entry_5">Check this box to get regular updates from me on constituency matters  
  103. </label>
  104. <label class="ss-q-help" for="entry_5"></label>
  105. <ul class="ss-choices"><li class="ss-choice-item"><input type="checkbox" name="entry.5.group" value="Opt in" class="ss-q-checkbox" id="group_5_1">
  106. <label for="group_5_1">Opt in</label></li>
  107. </ul></div></div></div>
  108. <br> <div class="errorbox-good">
  109. <div class="ss-item ss-item-required ss-paragraph-text"><div class="ss-form-entry"><label class="ss-q-title" for="entry_6">Details of your issue / concern. (All matters will be dealt with in the strictest confidence)
  110. <span class="ss-required-asterisk">*</span></label>
  111. <label class="ss-q-help" for="entry_6"></label>
  112. <textarea name="entry.6.single" rows="8" cols="75" class="ss-q-long" id="entry_6"></textarea></div></div></div>
  113. <br>
  114. <input type="hidden" name="pageNumber" value="0">
  115. <input type="hidden" name="backupCache" value="">
  116. <div class="ss-item ss-navigate"><div class="ss-form-entry">
  117. <input type="submit" name="submit" value="Submit"></div></div></form>
  118. <script type="text/javascript">
  119.      
  120.       (function() {
  121. var error = false;
  122. var divs = document.getElementById('ss-form').
  123. getElementsByTagName('div');
  124. for (var j in divs) {
  125. if (divs[j].className == 'errorbox-bad') {
  126. error = true;
  127. divs[j].lastChild.firstChild.lastChild.focus();
  128. break;
  129. }
  130. }
  131. if (!error) {
  132. for (var i in divs) {
  133. if (divs[i].className == 'ss-form-entry' && divs[i].
  134. firstChild.className == 'ss-q-title') {
  135. divs[i].lastChild.focus();
  136. break;
  137. }
  138. }
  139. }
  140. })();
  141.       </script></div>
  142. <div class="ss-footer"><div class="ss-attribution"></div>
  143. <div class="ss-legal"><span class="ss-powered-by">Powered by <a href="http://docs.google.com">Google Docs</a></span>
  144. <span class="ss-terms"><small><a href="https://spreadsheets.google.com/reportabuse?formkey=dFJOdlhQNW9LdWVHbEloalNLSEhsMHc6MA&amp;source=https%253A%252F%252Fspreadsheets.google.com%252Fviewform%253Fformkey%253DdFJOdlhQNW9LdWVHbEloalNLSEhsMHc6MA">Report Abuse</a>
  145. -
  146. <a href="http://www.google.com/accounts/TOS">Terms of Service</a>
  147. -
  148. <a href="http://www.google.com/google-d-s/terms.html">Additional Terms</a></small></span></div></div></div></body></html>