multiple forms

edited May 2012 in News & Announcements
Hello, I need to create multiple forms within a single page and that has to be called in the layout in advanced module. How do I do that?

Comments

  • edited 12:19AM
    Are these forms for the CMS or forms for the front end of your website?
  • edited 12:19AM
    these are for the front end for my software.
  • edited 12:19AM
    If you don't need to control the forms in the CMS, you can create static view files that contain the forms. You can use FUEL's Form class or Form_builder class to help build the forms (but is not required). Then create a controller with a method in your advanced module folder that renders the view file like so:
    $vars = array(); // array of variables to pass to the view $this->load->module_view('my_module', 'my_view', $vars);
    http://www.getfuelcms.com/user_guide/libraries/form
    http://www.getfuelcms.com/user_guide/libraries/form_builder
Sign In or Register to comment.