Project

General

Profile

Actions

Feature #69359

closed

EXT:form - Allow COA elements with FORM objects as children

Added by Björn Jacob about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2015-08-27
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Having the following snippet as example:

lib.formPid3 = COA
lib.formPid3 {
    10 = FORM
    10 {
        10 = TEXT
        10 {
            value = TEXT cObject
            wrap = <h3>|</h3>
        }

        # @ToDo: it is not possible to have FORM objects inside other cObjects
        # the following example is not working, i.e. the TEXTLINE will not be rendered
        20 = COA
        20 {
            wrap = <div>|</div>

            10 = TEXT
            10.value = TEXT in COA cObject

            20 = TEXTLINE
            20 {
                name = coaField
                label = Field in COA
            }
        }
    }
}

The TEXT cObject will be rendered as expected. The COA cObject is also rendered, especially the child TEXT cObject. The TEXTLINE inside the COA is not rendered.

IMHO it would be great to have the possiblity using COAs for wrapping etc.

Actions

Also available in: Atom PDF