Viewing 0 reply threads
  • Author
    Posts
    • #1302
      Sander Schat
      Member

      Hi!
      got a little issue here:
      i configured a “Settings” page with three fields in it.
      One of them is a ‘group’ (and should get ‘add_more’ later on)

      Problem:
      i can not save this ‘group’ field and its value(s)

      In the save process i got this:
      I see the two ‘other’ fields and there values.
      But the group-field doesnt seem to get its value through.

      oldArray
      (
          [y_fi_last_run] => 
          [y_fi_max_rows] => 123
      )
      newArray
      (
          [y_fi_last_run] => 
          [y_fi_max_rows] => 1234
      )

      Any idea on where to look?

      ////
      here the ‘field’ definition for reference:

      piklist('field', array('type'        => 'group',
                             'field'       => 'y_fi_feeds',
                             'label'       => __('Feeds'),
                             'description' => __('What feeds are handled currently'),
                             'fields'      => array(array('type'    => 'select',
                                                          'field'   => 'y_fi_feed_type',
                                                          'value'   => '',
                                                          'label'   => 'type',
                                                          'choices' => $files,
                                                          'columns' => 8),
                                                    array('type'    => 'checkbox',
                                                          'field'   => 'y_fi_online',
                                                          'label'   => 'online',
                                                          'value'   => '0',
                                                          'columns' => 2),
                                                    array('type'    => 'text',
                                                          'field'   => 'y_fi_url',
                                                          'label'   => 'url',
                                                          'value'   => '',
                                                          'columns' => 12))));
      
      piklist('field', array('type'        => 'text',
                             'field'       => 'y_fi_last_run',
                             'label'       => 'Last run:',
                             'attributes'  => array('readonly' => 'readonly'),
                             'description' => 'Importer last run'));
      
      piklist('field', array('type'        => 'number',
                             'field'       => 'y_fi_max_rows',
                             'label'       => 'Max rows',
                             'description' => 'how many rows to import?'));
Viewing 0 reply threads
  • You must be logged in to reply to this topic.