Advertisement
Guest User

Untitled

a guest
Apr 25th, 2018
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 3.44 KB | None | 0 0
  1. <HTML>
  2.   <head>
  3.     <title>Contact Design Packaging INC</title>
  4. <link rel='stylesheet' href='//designpackagin.staging.wpengine.com/wp-content/themes/DesignPackagingInc/style.css' type='text/css' media='all' />
  5. <link rel='stylesheet' href='//designpackaginginc.com/wp-content/themes/DesignPackagingInc/style.css' type='text/css' media='all' />
  6. <script type='text/javascript' src='//designpackagin.staging.wpengine.com/wp-content/themes/DesignPackagingInc/assets/js/ourcustom.js?ver=4.9.2'></script>
  7. <script type='text/javascript' src='//designpackaginginc.com/wp-content/themes/DesignPackagingInc/assets/js/ourcustom.js?ver=4.9.2'></script>
  8.   </head>
  9. <body>
  10.   <NLFORM>
  11.     <h1>How can we help you?</h1>
  12.     <ul id="form_fields">
  13.         <li id="field_1_1"><label>How can we help you?</label><nlcustentity_contactreason></li>
  14.         <li id="field_1_2"><label>Total Quantity</label>
  15.             <div class="input_container">
  16.                 <ul>
  17.                     <li><input value="1" name="custentity_totalquantityoption" type="radio" id="custentity_totalquantityoption" class="radio1"><label>0 - 2,999</label></li>
  18.                     <li><input value="2" name="custentity_totalquantityoption" type="radio" id="custentity_totalquantityoption" class="radio1"><label>3,000 - 7,499</label></li>
  19.                     <li><input value="3" name="custentity_totalquantityoption" type="radio" id="custentity_totalquantityoption" class="radio1"><label>7,500 - 24,999</label></li>
  20.                     <li><input value="4" name="custentity_totalquantityoption" type="radio" id="custentity_totalquantityoption" class="radio1"><label>25,000 - 49,999</label></li>
  21.                     <li><input value="5" name="custentity_totalquantityoption" type="radio" id="custentity_totalquantityoption" class="radio1"><label>50,000 - 99,999</label></li>
  22.                     <li><input value="6" name="custentity_totalquantityoption" type="radio" id="custentity_totalquantityoption" class="radio1"><label>100,000 - 1 Million +</label></li>
  23.                     <nlcustentity_totalquantityoption>
  24.                 </ul>
  25.             </div>
  26.         </li>
  27.         <li id="field_1_3"><label>First Delivery Timeframe</label>
  28.             <div class="input_container">
  29.                 <ul>
  30.                     <li><input value="1" name="custentity_timeframe" type="radio" id="custentity_timeframe" class="radio1"><label>within 12 weeks</label></li>
  31.                     <li><input value="2" name="custentity_timeframe" type="radio" id="custentity_timeframe" class="radio1"><label>between 12-18 weeks</label></li>
  32.                     <li><input value="3" name="custentity_timeframe" type="radio" id="custentity_timeframe" class="radio1"><label>beyond 18 weeks</label></li>
  33.                     <nlcustentity_timeframe>
  34.                 </ul>
  35.             </div>
  36.         </li>
  37.         <div class="clear"></div>
  38.         <li id="field_1_4"><label>Additional Comments</label> <nlcomments></li>
  39.         <li id="field_1_5"><label>First Name</label> <NLFIRSTNAME></li>
  40.         <li id="field_1_6"><label>Last Name</label> <NLLASTNAME></li>
  41.         <li id="field_1_7"><label>Company Name</label> <nlcompanyname></li>
  42.         <li id="field_1_8"><label>Email Address</label> <nlemail></li>
  43.         <li id="field_1_9"><label>Phone</label> <nlphone></li>
  44.         <li id="field_1_10"><label>Customer City</label> <nlcustentity2></li>
  45.         <li><input type="submit" value="Sumbit Form"></li>
  46.     </ul>
  47.   </form>
  48.  
  49. <script>
  50. jQuery(document).ready(function( $ ) {
  51.  
  52.  $("#custentity_contactreason").change(function(){
  53.  
  54.    if ($(this).val() == "1") {
  55.     $("#field_1_2, #field_1_3").hide();
  56.     $("#field_1_4").show();
  57.    } else if ($(this).val() == "2") {
  58.     $("#field_1_2, #field_1_3, #field_1_4").show();
  59.    }
  60.   });
  61.  
  62. });
  63.  
  64. </script>
  65.  
  66. </body>
  67. </HTML>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement