Support

Account

Forum Replies Created

  • UPDATE:
    So went with “no name” for repeater field (at this way I get something)
    I got this to work by removing the empty-name-array with foreach loop

    
    $address_list = Array();
    foreach ($app['address'] as $item) {
       $address_list = $item;
     }
     $app['address'] = $address_list;
    

    And now I have fully functioning associative Array

  • 6 month later and no one has fix for this.
    I have same problem, repeater returns only boolean value not an Array as it supposed to.
    One thing that I noticed if I don’t give a name to repeater field it DOES return an array, but I can’t select it because it’s identifier is [”] and php doesn’t want to read it.
    with name:

    ["address"]=>
      array(1) {
        ["list"]=>
        bool(false)
      }

    without name:

    ["address"]=>
      array(1) {
        [""]=>
        array(1) {
          [0]=>
          array(5) {
            ["type"]=>
            string(4) "Home"
            ["address"]=>
            string(23) "12324 SW MAIN ST"
            ["city"]=>
            string(10) "Beaverton "
            ["state"]=>
            string(2) "OR"
            ["zipcode"]=>
            string(5) "97007"
          }
        }
      }
Viewing 2 posts - 1 through 2 (of 2 total)