Welcome Guest, Not a member yet? Register   Sign In
location form_fieldset
#1

[eluser]almarjin[/eluser]
Hi,

Does any one know where to find "form_fieldset"?

I just wanted to edit.

Thanks,
#2

[eluser]xwero[/eluser]
If you want to edit it you better extend the helper. the helper name is form so you create a file application/libraries/MY_form_helper.php and you add the function form_fieldset where you add your code.

If you load the form helper your customized function will be available.
#3

[eluser]almarjin[/eluser]
Thanks I will try that.

you mean the new function will work? then the old one will not?

how about the anchor? I also wanted to edit it. I want to put css class on it.

Thanks again.
#4

[eluser]xwero[/eluser]
Yes the function in the application/helpers/MY_form_helper.php will replace the function in the system/helpers/form_helper.php.

It's in the helpers directory and not the libraries directory as i mentioned before.
#5

[eluser]Derek Allard[/eluser]
If all you're wanting to do is add css classes to these, both anchor and form_fieldset already support this. There are examples in the docs, and for fieldset that exact example (setting a css class) is used.
#6

[eluser]almarjin[/eluser]
xwero and Derek Allard

Thank you guys. Now I know




Theme © iAndrew 2016 - Forum software by © MyBB