[TYPO3-project-formidable] Clear search form
Albert van der Veen
albert.van.der.veen at xs4all.nl
Fri May 9 12:01:14 CEST 2008
Hi,
I placed this in the meta section and seems to work. Can anyone confirm
this is the right way to do it?
<oninit>
<userobj>
<php><![CDATA[/*<?*/
// clear the search criterias on load
$this->_oParent->oFormidable->clearSearchForm('pubsearchform');
//debug($_SESSION);
/*?>*/]]></php>
</userobj>
</oninit>
Thanks,
Albert
Albert van der Veen wrote:
> Hi all,
>
> I thought this question had been posted before, but can't seem to find
> an answer: I want to clear the form when the page with searchform loads.
> I presume the method clearFilters() in rdtsearchform should be used
> somewhere. Anyone have an example of where and how to use it?
>
> thanks,
> Albert
More information about the TYPO3-project-formidable
mailing list