This Form is created with HTML5 Guriddo Form PHP builder

This example show the ability to define a different input types.
This is done just with addElement method.
<?php
ini_set
("display_errors",1);
require_once 
'../../../php/demo/tabs2.php';
?>
<!DOCTYPE html>
<html lang="en" class="no-js">
  <head>
    <title>jqForm PHP Demo</title>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">

   

    <link rel="stylesheet" type="text/css" media="screen" href="../../../css/trirand/ui.jqform.css" />
    <style type="text/css">
        html, body {
        margin: 0;            /* Remove body margin/padding */
        padding: 0;
        /*overflow: hidden;*/    /* Remove scroll bars on browser window */
        
        }
        body {
            font-family: "Trebuchet MS", "Helvetica", "Arial",  "Verdana", "sans-serif";
        }        
        #notsupported  { border: 0px none;}

    </style>
    <script src="../../../js/jquery.min.js" type="text/javascript"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
    <script src="../../../js/jquery-ui.min.js" type="text/javascript"></script>    
    <script src="../../../js/jquery.form.js" type="text/javascript"></script>
    <script src="../../../js/modernizr.js" type="text/javascript"></script>
    <script type="text/javascript">
        jQuery(document).ready(function(){
          if(Modernizr.inputtypes.number) {
              jQuery("#supported").append("<div>Your browser support input type: number!</div>");
          } else {
              jQuery("#notsupported").append("<div>Your browser does not support input type: number!</div>").addClass('ui-state-error');
          }
          $("input:submit").css('font-size','1.0em');
      });
    </script>
    
  </head>
  <body>
      <div style="margin-top:20px;margin-left:50px;margin-right: 20px;">
          <?php include ("bootstrapinline.php");?>
          <div style="text-align: center;margin-top:10px;">This Form is created with HTML5 Guriddo Form PHP builder</div>
      </div>
      <br/>
      <div id="supported"></div>
      <div id="notsupported"></div>
      <?php tabs(array("bootstrapinline.php"));?>
   </body>
</html>
bootstrapinline.php.
<?php
// Include class 
include_once '../jqformconfig.php'
include_once 
$CODE_PATH.'jqForm.php'
// Create instance 
$newForm = new jqForm('newForm',array('method' => 'post''id' => 'newForm'));
// Set url
$newForm->setUrl($SERVER_HOST.$SELF_PATH.'bootstrapinline.php');
// Set Form header 
// Set Form Footer 
// Set parameters 
$jqformparams = array();
// Set SQL Command, table, keys 
$newForm->serialKey true;
// Set Form layout 
$newForm->setView('inline');
$newForm->setStyling('bootstrap');

// Add elements
$newForm->addElement('UserName','text', array('label' => 'Name''id' => 'newForm_UserName'));
$newForm->addElement('Password','password', array('label' => 'Password''id' => 'newForm_Password'));
$newForm->addElement('newSubmit','submit', array('value' => 'Submit'));

// Add events
// Add ajax submit events
$newForm->setAjaxOptions( array('iframe' => false,
'forceSync' =>false) );
// Demo mode - no input 
$newForm->demo true;
$newForm->demo true;
// get the post and send it back

// Render the form 
echo $newForm->renderForm($jqformparams);
?>