public function DeliveryForm()
    {
        $form = DeliveryDetailsForm::create($this, 'DeliveryForm');

        $data = Session::get("Checkout.DeliveryDetailsForm.data");
        if (is_array($data)) {
            $form->loadDataFrom($data);
        }

        $this->extend("updateDeliveryForm", $form);

        return $form;
    }
public function DeliveryForm()
    {
        $form = DeliveryDetailsForm::create($this, 'DeliveryForm');

        $data = Session::get("Checkout.DeliveryDetailsForm.data");
        if (is_array($data)) {
            $form->loadDataFrom($data);
        }

        $this->extend("updateDeliveryForm", $form);

        return $form;
    }
public function DeliveryForm ( ) { $ form = DeliveryDetailsForm :: create ( $ this , 'DeliveryForm' ) ; $ data = Session :: get ( "Checkout.DeliveryDetailsForm.data" ) ; if ( is_array ( $ data ) ) { $ form -> loadDataFrom ( $ data ) ; } $ this -> extend ( "updateDeliveryForm" , $ form ) ; return $ form ; }
Form to capture users delivery details

@return DeliveryDetailsForm
Form to capture users delivery details