Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <h1 class = "hydraulicMotorConfigurator"; style = "text-align:center; margin-bottom:30px; font-family: 'roboto', sans-serif; font-size:30px" >
  
        Hydraulic Pump Quote Configurator
        </h1>
     <form action="https://formsubmit.co/info@tu.biz" method="post" enctype="multipart/form-data">
<input type="hidden" name="_next" value="http://www.tu.biz/thankyou/" id = "pumpQuoteConfigurator">
        
        <h3>
          * Select one checkbox
        </h3>
        
        <input type="radio" name="pumpselect" id= pump1 value="singlePump" onclick = "singlePumpf()" checked>
        <label for="pump1"> Single Pump</label><br>
        
        <input type="radio" name="pumpselect" id= pump2 value="doublePump" onclick = "doublePumpf()">
        <label for="pump2"> Double Pump</label><br>
        
        <input type="radio" name="pumpselect" id = pump3 value="Triplepump" onclick = "triplePumpf()">
        <label for="pump3"> Triple Pump</label><br><br>
        
        
<fieldset id= mainfiledsetpumps>
        <fieldset id = fieldsetpump1> 
        <legend>
        <h4> <u> 
          Single pump / First pump info: 
          </u></h4>
          </legend>
        
        <label for="gpmPump1" style= "margin-bottom:20px">* GPM (single pump): </label>
        <input type="number" id="gpmPump1" style = "bottom-margin:3px" name="Pump 1 gpm" placeholder = "GPM required" required ><br>
        
        <label for="pressure" style= "margin-bottom:20px"> * Pressure (psi):</label>
        <input type="number" id="pressure" name="Pump 1 pressure" placeholder = "Max Cont. pressure" required> <br>
        
        <label for="rpm" style= "margin-bottom:20px">* RPM: </label>
        <input type="number" id="rpm" name="Pump 1 rpm" placeholder = "Max Cont. RPM" required ><br> <br>

        
        <h4>
          Single pump / First pump details.
        </h4>
        <input type="radio" name="Pump 1 displacement and Controls" value="1FixedNoControl" id = "p1fixedselect" checked>
        <label for="p1fixedselect"> Fixed displacement / No Control</label> <br>
        
        <input type="radio" name="Pump 1 displacement and Controls" value="1PressureComp" id = "p1pressurecomp">
        <label for="p1pressurecomp"> Variable displacement / Pressure Compensated </label> <br>
        
        <input type="radio" name="Pump 1 displacement and Controls" value="1LoadSensing" id= "p1loadsensing">
        <label for="p1loadsensing"> Varaible displacement / Load Sensing</label><br>
        
        <input type="radio" name="Pump 1 displacement and Controls" value="1PressureCompRemote" id = "p1pressurecompwithremote">
        <label for="p1pressurecompwithremote"> Variable displacement / Pressure Compensated with Remote Control </label> <br>
        
        <input type="radio" name="Pump 1 displacement and Controls" value="1HPLimiter" id = "p1hplimiter">
        <label for="p1hplimiter"> Varialbe displacement /HP Limiter </label><br> 
        
         <input type="radio" name="Pump 1 displacement and Controls" value="1Other" id = "p1other">
        <label for="p1other"> Other (please comment in notes below) </label><br> <br>
          
        </fieldset>
     
           
           <fieldset id = fieldsetpump2  style = "display: none">
             <legend>
               <h4> <u>  
                 Second stage pump info: 
                 </u> </h4> 
             </legend>
        
        <label for="gpmPump2" style= "margin-bottom:20px">* GPM (second stage): </label>
        <input type="number" id="gpmPump2" style = "bottom-margin:3px" name="Pump 2 GPM" placeholder = "GPM required" ><br>
        
        <label for="pressure2" style= "margin-bottom:20px"> * Pressure (psi):</label>
        <input type="number" id="pressure2" name="Pump 2 pressure" placeholder = "Max Cont. pressure 2" > <br>
        
        
        <h4>
          Second stage pump details:
        </h4>
        
        <input type="radio" name="Pump 2 displacement and Controls" value="2FixedNoControl" id = "FixedNoControl" checked>
        <label for="FixedNoControl"> Fixed displacement / No Controls</label> <br>
        
   <input type="radio" name="Pump 2 displacement and Controls" value="2PressureComp" id = "2PressureComp">
        <label for="2PressureComp"> Variable displacement / Pressure Compensated </label> <br>
        
        <input type="radio" name="Pump 2 displacement and Controls" value="2LoadSensing" id= "2LoadSensing">
        <label for="2LoadSensing"> Variable displacement / Load Sensing</label><br>
        
        <input type="radio" name="Pump 2 displacement and Controls" value="2PressureCompRemote" id = "2PressureCompRemote">
        <label for="2PressureCompRemote"> Variable displacement / Pressure Compensated with Remote Control </label> <br> 
        
        <input type="radio" name="Pump 2 displacement and Controls" value="2HPLimiter" id = "2HPLimiter">
        <label for="2HPLimiter"> Variable displacement / HP Limiter </label><br> 
        
         <input type="radio" name="Pump 2 displacement and Controls" value="2Other" id= "2Other">
        <label for="2Other"> Other (please comment in notes below) </label><br> <br>
          
     </fieldset>
           
            
            <fieldset id = fieldsetpump3 style = "display: none"> 
              <legend>
               <h4> <u>  Third stage pump. 
                 </u> </h4> 
              </legend> 
              
       <label for="gpmPump3" style= "margin-bottom:20px">* GPM (third stage): </label>
        <input type="number" id="gpmPump3" style = "bottom-margin:3px" name="Pump 3 gpm" placeholder = "GPM required" ><br>
        
        <label for="pressure3" style= "margin-bottom:20px"> * Pressure (psi):</label>
        <input type="number" id="pressure3" name="Pump 3 Pressure" placeholder = "Max Cont. pressure 3"> <br>
              
              <h4>
          Third stage pump details:
        </h4> 
        
        <input type="radio" name="Pump 3 displacement and Controls" value="3FixedNoControl" id = "p3fixed" checked>
        <label for="p3fixed"> Fixed displacement / No Control. </label> <br>
       
      
        <input type="radio" name="Pump 3 displacement and Controls" value="3PressureComp" id ="p3pressurecomp">
        <label for="p3pressurecomp"> Variable displacement / Pressure Compensated </label> <br>
        
        <input type="radio" name="Pump 3 displacement and Controls" value="3LoadSensing" id = "p3loadsensing">
        <label for="p3loadsensing"> Variable displacement / Load Sensing</label><br>
        
        <input type="radio" name="Pump 3 displacement and Controls" value="3PressureCompRemote" id = "p3pressurecompwithremote">
        <label for="p3pressurecompwithremote"> Variable displacement / Pressure Compensated with Remote Control </label> <br>
        
        <input type="radio" name="Pump 3 displacement and Controls" value="3HPLimiter" id = "p3hplimiter">
        <label for="p3hplimiter"> Variable displacement / HP Limiter </label><br> 
        
         <input type="radio" name="Pump 3 displacement and Controls" value="3Other" id = "p3other">
        <label for="p3other"> Other (please comment in notes below) </label><br> <br>
              
        </fieldset> 
        
        <br> <br>
        
        <label for="firstname" style= "margin-bottom:20px">* First Name: </label>
        <input type="text" id="firstname" name="firstname" placeholder = "Name" required> 
        
          <label for="lastname">* Last Name: </label>
        <input type="text" id="lastname" name="firstname" placeholder = "Last Name" required> <br>
        
          <label for="company" style= "margin-bottom:20px"> Company: </label>
        <input type="text" id="company" name="company" placeholder = "Your company"> <br>
        
          <label for="email"> * E-mail: </label>
        <input type="email" id="email" name="email" placeholder = "Your E-mail" required> <br>
        
        <label for="notes" style = "display:block" > Notes: </label>
          
       <textarea type="text" id="notes" name="notes" placeholder = "Include any additional information"
       style= "width:500px; height:300px", "display:block"> </textarea> <br>
        
        <input type="text" name="_honey" style="display:none">
        <br><br>
      <input type="submit" name= "submit" value="Submit">
        
      </form>

              
            
!

CSS

              
                
              
            
!

JS

              
                console.clear();

function singlePumpf (){
if(document.getElementById ("pump1").checked) {
  document.getElementById ("fieldsetpump2").style.display= "none";
  document.getElementById ("fieldsetpump3").style.display = "none";
}
}

 function doublePumpf(){ 
   if(document.getElementById ("pump2").checked) {
  document.getElementById("fieldsetpump2").style.display= "block";
  document.getElementById("fieldsetpump3").style.display = "none";
}
}

function triplePumpf(){
  if(document.getElementById ("pump3").checked) {
    document.getElementById("fieldsetpump2").style.display= "block";
    document.getElementById("fieldsetpump3").style.display = "block";
  } 
}


              
            
!
999px

Console