title: CodeIgniter: form_input as readonly
body: <p>I have the following form input:</p>
  
  <pre><code>&lt;?php echo form_input(array('name'=&gt;'stockist['.$stockist-&gt;ID.'][ID]','value'=&gt;form_decode($stockist-&gt;ID), 'class'=&gt;'span1'));?&gt;
  </code></pre>
  
  <p>I'd like to make this a read-only field, however any attempt to make this read=only using HTML syntax throws an error. Does anyone know if it's possible to make a form_input type read only?</p>
  
  <p>Thanks</p>