Love Fuel?
Donate
About
Forums
Discussions
Login
FuelPHP Forums
Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
General
Questions about Fieldset
hueman
August 2011
a) how can i put fieldset's field within a custom HTML tag like <p> ?
b) how can i add csrf field to fieldset?
Davide Bellini
August 2011
A) you can check core/config/form.php file to define fields wrapper On CSRF I haven't use that yet .... Sorry
mansuku
April 2013
b)
I successed that.
$user_form = Fieldset::forge('user_form');
$user_form->add(Config::get('security.csrf_token_key'),'',array('type'=>'hidden','value'=>Security::fetch_token()));
Harro
April 2013
Even faster:
$fieldset->form()->add_csrf();
Add a Comment
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
5,088
General
↳ General
3,364
↳ Job Board
13
↳ Installation & Setup
214
Packages
↳ Oil
213
↳ Orm
700
↳ Auth
260
Development
↳ Tips and Tutorials
126
↳ Code share
145
↳ Applications
52
In this Discussion
Davide Bellini
August 2011
Harro
April 2013
mansuku
April 2013