<input type="url" class="form-control" id="website" name="website" placeholder="Enter url">
      <span class="error"><?php 
echo $websiteErr;
?>
</span>
    </div>
  </div>


  
  <div class="form-group">
  	<label class="control-label col-sm-4" for="pubid">Select Widgets:</label> 
    <div class="col-sm-8">
    <?php 
$wid = new widget();
$widget = $wid->get_widget();
foreach ($widget as $doc) {
    $str = strtoupper($doc);
    echo "<input type='checkbox' runat='server' id=" . "{$doc}" . " name=" . "{$doc}" . " value=" . "{$doc}" . ">" . " {$str} ";
    echo "   ";
}
?>
 				 <span class="error"><?php 
echo $widgetErr;
?>
</span>
      </div>
    </div>
    
   <div class="form-group"> 
    <div class="col-sm-offset-4 col-sm-8">