Help with form helpers |
[eluser]NachoF[/eluser]
Is there a way I can change to way form helpers behave?? I understand they can receive parameters for extra attributes but the only extra functionality I want is having them set the id of the form element to be the same as the name attribute so for example I want Code: form_input("login") Code: <input type="text" name="login" id="login" value="" />
[eluser]jbreitweiser[/eluser]
You can extend helpers. http://ellislab.com/codeigniter/user-gui...lpers.html Copy the functions you want to override and add code to add the id tag.
|
Welcome Guest, Not a member yet? Register Sign In |