[TYPO3] default / data values in FORM

Jo Schneider typo3listmember at typo3cms.info
Thu Mar 16 15:27:53 CET 2006


Hello,

in TS Ref there is written, that FORM -> dataArray.data uses stdWrap, 
but I can not figure out, how to insert the actual page-id for example.

Can anybody help me out?
Best wishes!
Jo

Nothing of this works:

20 = FORM
20.dataArray {

    30.label = PID:
    30.type = pid=input
    30.data.data = page:uid

    31.label = PID:
    31.type = pid=input
    31.data.stdWrap.data = page:uid

    32.label = PID:
    32.type = pid=input
    32.data = {page:uid}

    33.label = PID:
    33.type = pid=input
    33.data.data = {page:uid}

    34.label = PID:
    34.type = pid=input
    34.data.stdWrap.data = {page:uid}

}
20 {
    layout = <tr><td>###LABEL###</td><td>###FIELD###</td></tr>
    stdWrap.wrap = <table border="0" cellpadding="0" 
cellspacing="0">|</table>
}




More information about the TYPO3-english mailing list