Fuel cms Form Field Array type

edited September 2013 in Modules
I am making a application using FUEL framwork. But i fall in a problem when I am going to make a Combo array type form field. I have seen like that a field in fuel cms blog/post module labeled category. IF you have any knowledge then please tell me.

Comments

  • edited 6:12PM
    That field type is a multi. You can set it in your form_fields method like so:
    public function form_fields($values = array(), $related = array()) { $fields = parent::form_fields($values, $related); $fields['my_field']['type'] = 'multi'; return $fields; }
    More on the different form fields here (this is referencing the 1.0 beta documentation but still applies to .93)
    http://docs.getfuelcms.com/general/forms
  • Thanks for Solution. You are my Best Friend. Because of ""
Sign In or Register to comment.