Retain $_POST values in form's 'block' view
When using a custom form template stored in the _blocks folder, are the magic {name_field} type of methods supposed to retain POST values if the form contains errors?
I have a form defined in config/forms.php, and a view for it in _blocks\my_form.php. Following the documentation example, I added a bunch of fields to it, i.e.
<?=$comment_label?> <?=$comment_field?>
However even though the fields have "'required' => true" in the config file, all fields' values are lost upon submitting the form (though if they're ALL set, the form submits fine).
Is the $***_field syntax not enough to ensure these values are retained?
Comments
All I do in my controller is load the form and pass the result of $form->render() to the view.
https://github.com/daylightstudio/FUEL-CMS-Forms-Module
https://github.com/daylightstudio/FUEL-CMS-Forms-Module/commit/5e78af0a8c475c0f169ea5165dc88c4c3175f426