It looks like you're new here. If you want to get involved, click one of these buttons!
$params['fields'] = $fields;
$params['validation'] = $validation;
$params['name'] = 'Submit form';
$params['slug'] = 'myform';
$params['form_action'] = site_url('submissions/myform');
$params['form_display'] = 'block';
$params['block_view'] = 'form_myform';
$vars['form'] = $this->fuel->forms->create('myform',$params);
$page_init = array('location'=>__FUNCTION__,'render_mode'=>'view');
$this->fuel->pages->render('myview', $vars, $page_init);
echo $form->render();
echo '<h3>My Title</h3>';
echo $field1_label;
echo $field1_field;
Comments
<input type="hidden" name="return_url" value="http://myreturnpage"> <input type="hidden" name="form_url" value="http://thepagemyformison">