Pen Settings



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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource


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


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.


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.


                <h1 class = "hydraulicMotorConfigurator"; style = "text-align:center; margin-bottom:30px; font-family: 'roboto', sans-serif; font-size:30px" >
        Hydraulic Pump Quote Configurator
      <form action="" method="post" enctype=”multipart/form-data” id = "pumpQuoteConfigurator">
          * Select one checkbox
        <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>
       <div id = parentfieldset>
        <div id = fieldsetpump1> 
        <h4> <u> Information for single pump. </u></h4>
        <label for="gpmPump1" style= "margin-bottom:20px">* GPM (single pump): </label>
        <input type="number" id="gpmPump1" style = "bottom-margin:3px" name="gpmPump1" placeholder = "GPM required" required ><br>
        <label for="pressure" style= "margin-bottom:20px"> * Pressure (psi):</label>
        <input type="number" id="pressure" name="pressure" placeholder = "Max Cont. pressure" required> <br>
        <label for="rpm" style= "margin-bottom:20px">* RPM: </label>
        <input type="number" id="rpm" name="rpm" placeholder = "Max Cont. RPM" required ><br> <br>
          Type of pump
        <input type="radio" name="p1type" value="p1fixed" checked>
        <label for="p1fixed"> Fixed displacement </label>
        <input type="radio" name="p1type" value="p1variable" id = p1variableselect>
        <label for="p1variable" onlcick = "p1Controlf ()"> Variable displacement</label><br> 
          <div id = p1controlselect>
           Controls for variable displacement pump
        <input type="radio" name="p1control" value="p1pressurecomp" checked>
        <label for="p1pressurecomp"> Pressure Compensated </label>
        <input type="radio" name="p1control" value="p1loadsensing">
        <label for="p1loadsensing"> Load Sensing</label><br>
        <input type="radio" name="p1control" value="p1pressurecompwithremote">
        <label for="p1pressurecompwithremote"> Pressure Compensated with Remote Control </label>
        <input type="radio" name="p1control" value="p1hplimiter">
        <label for="p1hplimiter"> HP Limiter </label><br> 
         <input type="radio" name="p1control" value="p1other">
        <label for="p1other"> Other (please comment in notes below) </label><br> <br>
           <div id = fieldsetpump2>
               <h4> <u>  Second stage pump. </u> </h4> 
        <label for="gpmPump2" style= "margin-bottom:20px">* GPM (second stage): </label>
        <input type="number" id="gpmPump2" style = "bottom-margin:3px" name="gpmPump2" placeholder = "GPM required" required ><br>
        <label for="pressure2" style= "margin-bottom:20px"> * Pressure (psi):</label>
        <input type="number" id="pressure2" name="pressure2" placeholder = "Max Cont. pressure 2" required> <br>
          Type for second stage pump.
        <input type="radio" name="p2type" value="p2fixed" checked>
        <label for="p2fixed"> Fixed displacement </label>
        <input type="radio" name="p2type" value="p2variable">
        <label for="p2variable"> Variable displacement</label><br> 
        <div id = p2controlselect> 
          Controls for variable displacement second stage pump
        <input type="radio" name="p2control" value="p2pressurecomp" checked>
        <label for="p2pressurecomp"> Pressure Compensated </label>
        <input type="radio" name="p2control" value="p2loadsensing">
        <label for="p2loadsensing"> Load Sensing</label><br>
        <input type="radio" name="p2control" value="p2pressurecompwithremote">
        <label for="p2pressurecompwithremote"> Pressure Compensated with Remote Control </label>
        <input type="radio" name="p2control" value="p2hplimiter">
        <label for="p2hplimiter"> HP Limiter </label><br> 
         <input type="radio" name="p2control" value="p2other">
        <label for="p2other"> Other (please comment in notes below) </label><br> <br>
            <div id = fieldsetpump3> 
               <h4> <u>  Third stage pump. </u> </h4> 
       <label for="gpmPump3" style= "margin-bottom:20px">* GPM (third stage): </label>
        <input type="number" id="gpmPump3" style = "bottom-margin:3px" name="gpmPump3" placeholder = "GPM required" required ><br>
        <label for="pressure3" style= "margin-bottom:20px"> * Pressure (psi):</label>
        <input type="number" id="pressure3" name="pressure3" placeholder = "Max Cont. pressure 3" required> <br>
          Type for third stage pump.
        <input type="radio" name="p3type" value="p3fixed" checked>
        <label for="p3type"> Fixed displacement </label>
        <input type="radio" name="p3type" value="p3variable">
        <label for="p2variable"> Variable displacement</label><br> 
        <div id = p3controlselect>
          Controls for variable displacement third stage pump
        <input type="radio" name="p3control" value="p3pressurecomp" checked>
        <label for="p3pressurecomp"> Pressure Compensated </label>
        <input type="radio" name="p3control" value="p3loadsensing">
        <label for="p3loadsensing"> Load Sensing</label><br>
        <input type="radio" name="p3control" value="p3pressurecompwithremote">
        <label for="p3pressurecompwithremote"> Pressure Compensated with Remote Control </label>
        <input type="radio" name="p3control" value="p3hplimiter">
        <label for="p3hplimiter"> HP Limiter </label><br> 
         <input type="radio" name="p3control" value="p3other">
        <label for="p3other"> Other (please comment in notes below) </label><br> <br>
        <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">
      <input type="submit" name= "submit" value="Submit">





const f2parent = document.getElementById ("parentfieldset");
const f22pump = document.getElementById ("fieldsetpump2"); 
const f23pump = document.getElementById ("fieldsetpump3");

const remove2pump = f2parent.removeChild(f22pump); 
const remove3pump = f2parent.removeChild(f23pump);
const add2pump = f2parent.appendChild(remove2pump);
const add3pump = f2parent.appendChild(remove3pump); 

function singlePumpf (){
  if(document.getElementById ("pump1").checked) {

 function doublePumpf(){ 
if(document.getElementById ("pump2").checked) {   

  const f2parent = document.getElementById ("parentfieldset");
  const f22pump = document.getElementById ("fieldsetpump2"); 
  const f23pump = document.getElementById ("fieldsetpump3")

function triplePumpf(){
  if(document.getElementById ("pump3").checked) {