Viewing 3 reply threads
  • Author
    Posts
    • #5664
      notaname
      Member

      Code from demo page, where it work well (change first checkbox to select).
      I tried in Setting, Post and Page, default value in group not working, without group field it work as expected.

        piklist('field', array(
          'type' => 'group'
          ,'field' => 'checkbox_list'
          ,'label' => __('Group Lists', 'piklist-demo')
          ,'list' => false
          ,'fields' => array(
            array(
              'type' => 'radio'
              ,'field' => 'checkbox_list_1'
              ,'label' => __('List #1', 'piklist-demo')
              ,'label_position' => 'before'
              ,'value' => 'third'
              ,'choices' => array(
                'first' => 'First Choice'
                ,'third' => 'Third Choice'
              )
              ,'columns' => 6
            )
            ,array(
              'type' => 'checkbox'
              ,'field' => 'checkbox_list_2'
              ,'label' => __('List #2', 'piklist-demo')
              ,'label_position' => 'before'
              ,'value' => 'second'
              ,'choices' => array(
                'first' => 'First Choice'
                ,'second' => 'Second Choice'
                ,'third' => 'Third Choice'
              )
              ,'columns' => 6
            )
          )
        ));
      Attachments:
      You must be logged in to view attached files.
    • #5671
      Steve
      Keymaster

      @notaname– So it’s working in the demos, but when you copy to your own project it’s not working?

      • #5672
        notaname
        Member

        Yes, also for Text fields in Group fields value not displayed too. No other active plugins, only Piklist.

      • #5679
        Steve
        Keymaster

        Please make sure Demos are deactivated. Let us know if that helps.

      • #5693
        notaname
        Member

        Hmm, now in demo now work too (screenshot in attach), on 0.9.4.29 work perfect. Deactivate not help.

        Attachments:
        You must be logged in to view attached files.
      • #5721
        notaname
        Member

        Hi Steve! Sorry for misprints, I wanted to say what in demo page default value in group field not working for text, radio, checkbox fields on Piklist 0.9.9.7, can you reproduce this issue?

    • #5691
      notaname
      Member

      Hmm, how in demo not work too (screenshot in attach), on 0.9.4.29 work perfect. Deactivate not help.

      Attachments:
      You must be logged in to view attached files.
    • #7541
      tirins007
      Participant

      I am getting the same behaviour in 0.9.9.9. Any updates, please?

Viewing 3 reply threads
  • You must be logged in to reply to this topic.