Welcome Guest, Not a member yet? Register   Sign In
need a little help with form helper
#1

[eluser]buckboru[/eluser]
I am working on a form and it was suggested to me that i use the form helper.
So i have been converting my form to use form helper and most completed this. I have 1 thing i'm not sure about though.

For instance.
Code:
<tr>
<td valign="top">Date of birth (dd-mm-yyyy)<span style="color:red;">*</span></td>
<td>&lt;input type="text" name="DOB"&gt;validation->DOB; ?&gt;"/>
<a href="[removed]void(0);"><img src="&lt;?php echo base_url(); ?&gt;style/images/calendar.png" alt="calendar" border="0"></a>
&lt;?php echo $this->validation->DOB_error; ?&gt;</td>
</tr>

How would i code this using the form helper to use the onclide and javascript?

Thanks
#2

[eluser]wowdezign[/eluser]
The "Adding Attributes" section at http://ellislab.com/codeigniter/user-gui...elper.html might spark some ideas.




Theme © iAndrew 2016 - Forum software by © MyBB