Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
How to display a fieldset's children on build()?
  • The code insert thingy for the forums has broken javascript for me, bear with me on the formatting. $fs_module = Fieldset::forge('module');
    $fs_module->add_model($module); foreach($module->modulesettings as $i=>$setting){
    $fs_setting = Fieldset::forge($i); $fs_setting->add_model($setting);
    $fs_setting->set_parent($fs_module); } echo $fs_module->build(); Only the parent model's form is displayed for some reason. Anyone have an idea as to why?
  • ** Moved to the General forum, this is not an ORM question. **

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion