[TYPO3-formidable] Store renderlet:upload in database

Domi Garms djgarms at gmail.com
Mon Aug 9 05:38:17 CEST 2010


Hello

I tried to add a renderlet:UPLOAD into my form. But the value does not
store into the database. Im using a datahandler:DB and formidable in
the newest 2.x version


		<renderlet:UPLOAD name="picture" label="Select an image file, &lt; 2 MB">
			<data targetDir="uploads/" />
			<validator:FILE>
				<extension value="png, gif, jpg, jpeg" message="Image should be
either png, gif or jpg." />
				<filesizeKB value="2048" message="Image should weight under 2 MB" />
			</validator:FILE>
		</renderlet:UPLOAD>

		<renderlet:SUBMIT name="submit" value="submit" label="submit" >
			<validators>
			    <validator:STANDARD>
	      			<authentified>
		        		<value>TRUE</value>
		        		<message>You must be logged in to complete this form</message>
	      			</authentified>
	    		</validator:STANDARD>
	  		</validators>
  		</renderlet:SUBMIT>


What do I miss here? The upload into the folder is happening, but all
data except the upoad field is stored. The sql field name is picture
with the type text.

Thanks for any hints

Domi


More information about the TYPO3-project-formidable mailing list