title: The value is not sent from dropdown to Express.js
body: <p>I want to send the values of a form to Express.js to then save them in database. But the only value that is not reaching Express.js is the value in the select element. The form sends <strong>two</strong> things it sends an <em>excel file</em> and the value inside the <em>select element</em>. I even tried to console.log the req.body to see if the value is sent in the request body but it returns a void {} value. Here is the HTML.</p>
  
  <pre><code>&lt;div class="w3-card-2 w3-display-middle" class="margin:auto"&gt;
  &lt;header class="w3-container w3-blue"&gt;&lt;h4&gt;&lt;b&gt;Subir documento de Excel&lt;/b&gt;&lt;/h4&gt;&lt;/header&gt;
  
  &lt;form id="uploadForm" enctype="multipart/form-data" action="/upload" method="post"&gt;
      &lt;br&gt;
      &lt;input type="file" name="file" /&gt;
      &lt;br&gt;
      &lt;br&gt;
      &lt;label&gt;Entidad financiera: &lt;/label&gt;
      &lt;select name="bancos" class="w3-select w3-border"&gt;       /* &lt;---------- */
          &lt;option value="noAsignado"&gt;No asignado&lt;/option&gt;
          &lt;option value="bhdLeon"&gt;BHD Leon&lt;/option&gt;
          &lt;option value="asociacionNacional"&gt;ASOCIACION NACIONAL DE AHORROS Y PRESTAMOS&lt;/option&gt;
          &lt;option value="pucmm"&gt;PUCMM&lt;/option&gt;
          &lt;option value="grupoAltus"&gt;GRUPO ALTUS&lt;/option&gt;
      &lt;/select&gt;
      &lt;br&gt;
      &lt;br&gt;
      &lt;br&gt;
      &lt;br&gt;
      &lt;input class="w3-display-bottommiddle" type="submit" value="Subir" name="submit"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Here the Node code:</p>
  
  <pre><code>app.post('/upload', function(req, res){
      console.log(req.body);    //  &lt;---------------------
      var exceltojson;
      upload(req, res, function(err){
          if (err) {
              res.json({error_code:1,err_desc:err});
              return;
          }
          if(!req.file){
              res.json({error_code:1, err_desc:"No file passed"});
              return;
          }
  
          if(req.file.originalname.split('.')[req.file.originalname.split('.').length-1] === 'xlsx'){
              exceltojson = xlsxtojson;
          } else {
              exceltojson = xlstojson;
          }
          try {
              exceltojson({
                  input: req.file.path,
                  output: "./outPutJSON/output.json",
                  lowerCaseHeaders: true
              }, function(err, result){
                  if(err){
                      return res.json({error_code:1, err_desc:err, data: null});
                  }
                  res.json({datos:"Los datos fueron agregados exitosamente"});
  
                  fs.readFile("./outPutJSON/output.json", 'utf8', async (err, fileContents) =&gt; {
                      if (err) {
                        console.error(err);
                        return;
                      }
                      try {
                        let data = JSON.parse(fileContents);
                        console.log(data);             //--------------HERE THE EXCEL FILE WHEN IS PARSED
                        io.emit('test event', 'Se han subido ' + data.length + ' casos' );
  
                        for(let cantidad = 0; cantidad &lt; data.length; cantidad++){
                          var documento = data[cantidad];
                          if(documento.nombre === '' || documento.cedula === '' || documento.direccion === '') {
                              console.log('No se puede guardar este documento');
                          } else {
                              var mostrar = await incrementar();
                              documento.caso = mostrar;
                              documento.montoApoderado = data[cantidad]['monto apoderado'];
                              documento.numeroCliente = data[cantidad]['no.cliente'];
                              documento.numeroProducto = data[cantidad]['no.producto'];
                              let today = moment().format('YYYY M D');
                              documento.fechaCreado = today;
                              var mod = new model(documento);
                              await mod.save(documento);
                          }
                        }
                      } catch(err) {
                        console.error(err);
                      }
                    })
  
                  });
  
                  var fs = require('fs');
                  try {
                      fs.unlinkSync(req.file.path)
                  }catch(e){
  
                  }
          } catch (e) {
              res.json({error_code:1, err_desc:"Corrupted excel file"});
          }
      });
  });
  </code></pre>