[TYPO3-project-formidable] Use SEARCHFORM with a IMAGE Submit

Carlos Meyer cm at neonblue.de
Wed Jan 21 20:43:38 CET 2009


Hi everyone,

I want to use the renderlet SEARCHFORM with an IMAGE SUBMIT. I use this XML
code: 

		<renderlet:SEARCHFORM name="search_companies"
renderonly="true">  
            <datasource use="ds-tx_txschoolcompanies_objects_list" />  
            <childs>  
   
                 <renderlet:TEXT>  
                     <search onfields="name_of_company" />  
                </renderlet:TEXT>
                
		        <renderlet:IMAGE name="btnsubmit" label="Submit">
		
	
<path>/typo3conf/ext/tx_school_companies/pi1/res/search_submit.gif</path>
		
		            <onclick>
		
		                <submit/>
		
		            </onclick>
		
	
<custom>style=&quot;cursor:pointer;&quot;</custom>
		
		        </renderlet:IMAGE>                
   
             </childs>  
         </renderlet:SEARCHFORM>

But this doesn't work. I get an error, that formidable want to insert into
db. I just want to search.

Thanks for help

Carlos  




More information about the TYPO3-project-formidable mailing list