[TYPO3-dev] Problem with saving data from cObj->Form in database?

aikyz at web.de aikyz at web.de
Mon Feb 12 10:15:09 CET 2007


Hello,

I generated cObject Form to write the data from the form in database table. Unfortunately this form doesn't save entries in database. Can somebody help me, what is wrong in my typoscript:

postform < styles.content.mailform
postform.data >
postform.dataArray {
    10.label = Name: 
    10.type = *data[table_name][NEW][col1]=input  
    
    20.label = Email: 
    20.type = *data[table_name][NEW][col2]=input
 
    30.label = Message: 
    30.type = *data[table_name][NEW][col3]=textarea

 [...]
 
    60.type = formtype_db=submit 
    60.value = Send 
   }
postform.layout = <tr><td>###LABEL###</td><td>###FIELD###</td></tr>
postform.no_cache=1
postform.target = _self 

Thanks,

_______________________________________________________________________
Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222





More information about the TYPO3-dev mailing list