title: float numbers validation in form
body: <p>I am trying to have a form with float number validation. 
  when validation works it won't let me click the submit button and will show the proper error message.</p>
  
  <p>I am using zend framework 2 and in my Form I want to retrieve alcohol volume.</p>
  
  <p>I'm trying to use the following code:</p>
  
  <pre><code>$this-&gt;add($factory-&gt;createElement(array(
              'name' =&gt; 'alcohol_vol',
              'attributes' =&gt; array(
                      'label' =&gt; 'alcohol vol%:',
                      'filters'    =&gt; array('Float'),
                      'type'  =&gt; 'text',
                      'required'   =&gt; true,
              ),
      )));
  </code></pre>
  
  <p>this doesn't do anything actually. it will pass validation if i enter regular text.</p>
  
  <p>I also tried changing the type to 'Number' from 'text' but then it won't allow me to use floating number. it will allow only none-float numbers :)</p>