[eluser]codejack[/eluser]
Hi, gents.
I'd like to replace the submit button in my forms with a simple a href button.
Code:
echo form_open('login', $attributes); ?>
<p>
<?php echo form_label('Username', 'username'); ?>
<?php echo form_input($username_nice); ?>
</p>
<p>
<?php echo form_label('Password', 'password'); ?>
<?php echo form_password($password_nice); ?>
</p>
<p>
<?php echo form_submit('submit', 'Login'); ?>
</p>
<?php echo form_close(); ?>
So I need to replace the form_submit function with something like this:
Code:
<p>
<a href="#" class="medium nice radius button">Open sesame!</a>
</p>
Is this possible? How would I go about doing this?