[TYPO3-dev] XML 2 BE_Flexform? 2 XML again

Sebastiaan van Parijs sebastiaan at framed.nl
Thu Mar 5 16:35:37 CET 2009


Hey There,

I`m working on a project where a database record has a name and a XML 
that describes the properties. What i'm looking for now is using the 
Typo3 standard functions used in FlexForms that renders this XML to a 
use able HTML Form.
When entering the prefered properties and submitting, the function same 
as in Flexform rendering it back to XML again with the acquired values, 
so i can update my record.

For example:
Table_name: tx_element
name: inputtext
xml_properties:
<T3DataStructure>
	<textinput>
		<title>Text Input</title>
		<el>
			<name>
				<label>name</label>
				<config>
					<type>input</type>
					<size>30</size>
				</config>
			</name>		
			<required>
				<label>required</label>
				<config>
					<type>check</type>
				</config>
			</required>
			<maxSize>
				<label>max textsize</label>
				<config>
				<type>input</type>
				<size>10</size>
				<eval>int</eval>
				</config>
			</maxSize>		
		</el>
	</textinput>
</T3DataStructure>

This is all backend related, so the function has to be accessable from 
there.
Any idea's anyone? Function names and or examples are very welcome, thnx 
for ur time.

Sebastiaan
Framed.nl






More information about the TYPO3-dev mailing list