So I'm coding a registration form, and I would like to have "virtual placeholders", that I will control with jQuery, since that HTML5 markup isn't still recognized by some browsers.
The problem is, using form helper and I can't set an initial value for:
<?php echo form_input($username);?>
and
$this->data['username'] = array('name' => 'username',
'id' => 'username',
'type' => 'text',
'max-length' => '20',
'value' => $this->form_validation->set_value('username'),
);